How to restart a simple daemon?
enwei.zhang at canonical.com
Mon Nov 21 02:50:29 UTC 2016
Thank you so much Xiaoguo.
On Mon, Nov 21, 2016 at 10:30 AM, XiaoGuo Liu <xiaoguo.liu at canonical.com>
> Hi Enwei,
> There are a few ways to handle it.
> 1) You do not need to make it a daemon before it is getting stable. When
> your run your app, just use "sudo" to run it on command line. When it is
> stable, change it to daemon.
> 2) You can use "snap enable/disable" to toggle the state of the app. When
> it is enabled, it starts to run again. In your case, your daemon app will
> be restarted.
> Best regards,
> On Mon, Nov 21, 2016 at 10:23 AM, Enwei Zhang <enwei.zhang at canonical.com>
>> When I install a simple daemon snap, the daemon is started right after it
>> is installed.
>> Suppose it stops due to some condition, is there a way to restart it?
>> Thanks a lot.
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> XiaoGuo, Liu
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Snapcraft