<div dir="ltr"><div><br></div>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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 29, 2017 at 11:52 AM, Anton Smith <span dir="ltr"><<a href="mailto:anton@huge.geek.nz" target="_blank">anton@huge.geek.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span>I got a question that I couldn't find any answers to on 
google/mailing lists etc. <br><br>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. <br><br>How does this work with snaps?<br><br></span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span>Regards,<br></span></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><span>Anton<br></span></div></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div>