Systemd has an option for this, see Restart= here
https://www.freedesktop.org/software/systemd/man/systemd.service.html

On Thu, Aug 4, 2016 at 7:42 PM, Stefan Adams <[email protected]> wrote:

> I've noticed that sometimes my hypnotoad just dies, no warning.  Is there
> a supported directive for systemd to allow systemd to auto-restart the
> service if the process hangs or disappears?
>
> On Sat, Jul 30, 2016 at 4:15 PM, sri <[email protected]> wrote:
>
>> Mojolicious 7.01 will have better systemd support and we'll add unit file
>> examples to the docs.
>>
>>     https://github.com/kraih/mojo/compare/d87c59fc0fa1c4450d59
>> 5fc7b3bbdd24faf64e7a...7299bf4442b09ee8451953aba99f97abe9864
>> 7bf#diff-b659d9bfeffa6b78a1f2950c7e72259bR151
>>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to