On Thu, Aug 4, 2016 at 8:27 PM, Dan Book wrote:
> The Watchdog is an optional feature, but if you enable it (with
> WatchdogSec=), the Restart option will include that condition. Otherwise
> the on-failure setting is usually sufficient and will restart it when a
> systemd
The Watchdog is an optional feature, but if you enable it (with
WatchdogSec=), the Restart option will include that condition. Otherwise
the on-failure setting is usually sufficient and will restart it when a
systemd operation times out or the process exits with a non-zero exit code
or is
On Thu, Aug 4, 2016 at 7:41 PM, Dan Book wrote:
> Systemd has an option for this, see Restart= here https://www.freedesktop.
> org/software/systemd/man/systemd.service.html
>
Thanks, Dan! I understand that a daemon needs to be written to
specifically handle the watchdog ping.
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 wrote:
> I've noticed that sometimes my hypnotoad just dies, no warning. Is there
> a supported directive for
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 wrote:
> Mojolicious 7.01 will have better systemd
Mojolicious 7.01 will have better systemd support and we'll add unit file
examples to the docs.
https://github.com/kraih/mojo/compare/d87c59fc0fa1c4450d595fc7b3bbdd24faf64e7a...7299bf4442b09ee8451953aba99f97abe98647bf#diff-b659d9bfeffa6b78a1f2950c7e72259bR151
--
sebastian
--
You
Hi!
Try this
https://github.com/kraih/mojo/wiki/Integrating-hypnotoad-with-systemd-and-rsyslog
пятница, 22 июля 2016 г., 13:44:57 UTC+3 пользователь Gabor Szabo написал:
>
> Hi,
>
> I am trying to deploy a Mojolicious-based application on an Ubuntu server.
> When I launch the application with
I just use cron for starting on boot:
$ crontab -l
@reboot /path/to/myserver.sh 1>>/path/to/log/file.log
2>>/path/to/log/file.log
The reason why I have a shell script first is to set up %ENV and friends.
If you don't need that, then you can just point directly to the
application. I also