Re: systemd services and Restart?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jun 28, 2017 at 12:54:43PM +0000, James Pearson wrote:
> However, I notice that this option is only used in a few OS provided 
> service unit files - and was wondering about the wisdom of adding this 
> capability to other daemons/services? (e.g. chronyd or ntpd, crond, 
> rpcbind, etc, etc) - not that these daemons are likely to crash and need 
> restarting that often ...

I think it's a good idea. We just haven't had a push (either at Red Hat
internally or Fedora upstream) to go through and enable this everywhere
it makes sense. The guidelines do recommend it:

https://fedoraproject.org/wiki/Packaging:Systemd#Automatic_restarting

> Are there any potential pit-falls in using Restart with OS provided 
> daemons/services?

See the caveat on Restart=on-abnormal in the doc above.

-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux