systemd services and Restart?

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



I've been trying out the Restart= option in some of my own systemd 
service unit files - which appears to work fine

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 ...

Previously, I've used custom scripts to monitor the state of key daemons 
and restart or report their status as appropriate - but as systemd has 
'Restart' and 'OnFailure' capabilities build in, these options could 
potentially make (my) life a bit easier ...

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

Thanks

James Pearson
_______________________________________________
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