Restart chrony in case it's already running

This commit is contained in:
William Wernert
2021-03-30 14:17:05 -04:00
parent 25eca39428
commit be6eb3ed6c

View File

@@ -742,7 +742,7 @@ configure_ntp() {
'logdir /var/log/chrony' >> $chrony_conf
systemctl enable chronyd
systemctl start chronyd
systemctl restart chronyd
# Tell the chrony daemon to sync time & update the system time
# Since these commands only make a call to chronyd, wait after each command to make sure the changes are made