Snap Health checks/monitoring running status

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Mon Jan 30 19:21:13 UTC 2017


The short answer is that daemons are naturally restarted, so you shouldn't
have to do anything other than ensuring you're using the proper daemon type
(simple, forking, etc). See Luca's recommended URL for more details.

On Sun, Jan 29, 2017 at 11:52 AM, Anton Smith <anton at huge.geek.nz> wrote:

> I got a question that I couldn't find any answers to on google/mailing
> lists etc.
>
> How do you keep a snap application alive, i.e. let's say I have an FFMPEG
> session that needs to run 24/7 (recording a camera), and on occasion it
> crashes. Traditionally I have used monit to "watch it" and restart it when
> it dies.
>
> How does this work with snaps?
>
> Regards,
> Anton
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170130/c5d8703d/attachment.html>


More information about the Snapcraft mailing list