Simple daemon settings
Ara Pulido
ara.pulido at canonical.com
Thu Mar 16 08:41:35 UTC 2017
On Thu, Mar 16, 2017 at 9:32 AM, Sergey Borovkov <serge.borovkov at 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.
More information about the Snapcraft
mailing list