On Thu, Mar 16, 2017 at 9:32 AM, Sergey Borovkov <serge.borov...@gmail.com>
wrote:

> Hello,
> I am running service using daemon: simple in snapcraft. Is there any way
> to configure how systemd handles restarting in the snapcraft.yaml? Current
> behavior is that it restarts the service when it exits with non zero exit
> code. But it does not get restarted otherwise. Can this be tweaked?
>

I believe you can add:

daemon: simple
restart-condition: always

Regards,
Ara.
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to