Skip to content

Commit

Permalink
Fix variable usage for ntpsockdir in setup (#144).
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyBasher committed Sep 10, 2022
1 parent 930a9da commit 414cd02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/setup.d/d_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
# set server time
msg = 'Adjusting server time '
printScript(msg, '', False, False, True)
subProc('mkdir -p /var/lib/samba/ntp_signd', logfile)
subProc('chgrp ntp /var/lib/samba/ntp_signd', logfile)
subProc('chmod 640 /var/lib/samba/ntp_signd', logfile)
subProc('mkdir -p ' + constants.NTPSOCKDIR, logfile)
subProc('chgrp ntp ' + constants.NTPSOCKDIR, logfile)
subProc('chmod 640 ' + constants.NTPSOCKDIR, logfile)
subProc('timedatectl set-ntp false', logfile)
subProc('systemctl stop ntp', logfile)
subProc('ntpdate pool.ntp.org', logfile)
Expand Down

0 comments on commit 414cd02

Please sign in to comment.