uwsgi systemd config (Type=notify)

Stuart Bishop stuart.bishop at canonical.com
Fri Dec 2 06:21:02 UTC 2016


On 29 November 2016 at 23:58, Boris Rybalkin <ribalkin at gmail.com> wrote:

> Stuart,
>
> Thanks for update, I will test soon, just setting a build on out build
> server.
>
> What about these settings, are they supported in some form?
>
> KillSignal=SIGQUIT
> StandardError=syslog
> NotifyAccess=all
>

I don't know sorry. Last I looked, I had no way of overriding the
KillSignal (I needed to ensure -9 was never used, as it can potentially
cause data loss and normal shutdown can take some time while dirty buffers
are all flushed safely to disk).


>
> Also does snapd currently validates that snap does not have something like
> this:
> command: /usr/bin/foo
>
> I guess my concern is coming from the need to convert systemd to another
> format as it will probably grow into some kind of subset of systemd config.
> I though snapd would parse native systemd file format and do same
> validation instead.
>

I would assume that native systemd file format is too complex to do that
safely, especially as systemd adds more features over time. There are so
many options, each of which is an opportunity to do something bad.

(Unless there is some way to tell systemd to apply the snap containment to
its .service files?)


-- 
Stuart Bishop <stuart.bishop at canonical.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161202/e86e88fc/attachment.html>


More information about the Snapcraft mailing list