mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Restart chrony in case it's already running
This commit is contained in:
@@ -742,7 +742,7 @@ configure_ntp() {
|
|||||||
'logdir /var/log/chrony' >> $chrony_conf
|
'logdir /var/log/chrony' >> $chrony_conf
|
||||||
|
|
||||||
systemctl enable chronyd
|
systemctl enable chronyd
|
||||||
systemctl start chronyd
|
systemctl restart chronyd
|
||||||
|
|
||||||
# Tell the chrony daemon to sync time & update the system time
|
# 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
|
# Since these commands only make a call to chronyd, wait after each command to make sure the changes are made
|
||||||
|
|||||||
Reference in New Issue
Block a user