ESGF / esgf-installer

ESGF P2P Node Installer
https://esgf.llnl.gov/
Other
20 stars 21 forks source link

If Chrony is running then don't attempt to start NTP #552

Closed chrisacbr closed 5 years ago

chrisacbr commented 5 years ago

By default, NTP has been replaced by Chrony on RHEL/CentOS 7.

pchengi commented 5 years ago

Hi @chrisacbr , can you clean this up a little? Here, if both NTP and Chrony are not running, it attempts to start NTP (which would again be wrong on C7). A cleaner way would be to check for and if need be, start the right service, depending on whether it is CentOS/RHEL 6 or 7.