RE: [chrony-users] chronyd.service doesn't have Restart=on-failure?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


.....

But I think the lines:
Restart=on-failure
RestartSec=30s
Should be added in the [Service] section. If chronyd fails for any reason, given how important time is, I can't think why it wouldn't try to restart.


Well, if, due to some bug in chrony or bad configuration, chrony dies, then it
is liable to die again and again and again. Having a program do that is not a
good idea. Rather the sysadmin needs to fix things. Remember that the local
clock is still running, so that time is not a complete disaster. If you really wanted to you could have a cron job run every minute, and if
chrony is not running, then restart it (and send the sysadmin an email saying
it had happened).

--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/