stop-timeout
Douglas Creager
dcreager at google.com
Wed Dec 9 16:17:08 UTC 2015
What's the correct format for stop-timeout in a package.yaml file?
According to the docs, it should be seconds, but when I use stop-timeout: 90,
I end up with
TimeoutStopSec=9.000000000000001e-08
in the resulting systemd service file. It looks like it might be
interpreting the number as nanoseconds? I've found snappy.Timeout in the
source code, which uses time.ParseDuration under the covers, so I thought I
could maybe use stop-timeout: 90s. That, however, gives me a different
error during snappy build:
can not parse package.yaml: yaml: unmarshal errors:
line 10: cannot unmarshal !!str `90s` into snappy.Timeout
Any tips?
Thanks!
–doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20151209/9b4264c5/attachment.html>
More information about the snappy-app-devel
mailing list