ntp rebuild unknown option -U

This commit is contained in:
Rmys
2021-07-14 00:29:27 +03:00
committed by GitHub
parent 7df8039d39
commit 2875d6e286
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ def start():
# Eventhough the ntpdate is a oneshot process, the pidfile hack is used to
# work around COMAR's silly status() check in startService()
startService(command="/usr/sbin/ntpdate",
args="%s %s" % (config.get("OPTIONS", "-U ntp -s -b"), tickers),
args="%s %s" % (config.get("OPTIONS", "-u ntp -s -b"), tickers),
makepid=True,
pidfile=PIDFILE,
donotify=True)