@@ -13,7 +13,7 @@ PIDFILE = "/run/ntpd.pid"
|
|||||||
@synchronized
|
@synchronized
|
||||||
def start():
|
def start():
|
||||||
startService(command="/usr/sbin/ntpd",
|
startService(command="/usr/sbin/ntpd",
|
||||||
args=config.get("OPTIONS", "-x -u ntp:ntp -p %s " % PIDFILE),
|
args=config.get("OPTIONS", "-x -g -u ntp:ntp -p %s " % PIDFILE),
|
||||||
donotify=True)
|
donotify=True)
|
||||||
|
|
||||||
@synchronized
|
@synchronized
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ def start():
|
|||||||
# Eventhough the ntpdate is a oneshot process, the pidfile hack is used to
|
# Eventhough the ntpdate is a oneshot process, the pidfile hack is used to
|
||||||
# work around COMAR's silly status() check in startService()
|
# work around COMAR's silly status() check in startService()
|
||||||
startService(command="/usr/sbin/ntpdate",
|
startService(command="/usr/sbin/ntpdate",
|
||||||
args="%s %s" % (config.get("OPTIONS", "-q -n -g -u ntp:ntp -s -b"), tickers),
|
args="%s %s" % (config.get("OPTIONS", "-q -n -g -u ntp -s -b"), tickers),
|
||||||
makepid=True,
|
makepid=True,
|
||||||
pidfile=PIDFILE,
|
pidfile=PIDFILE,
|
||||||
donotify=True)
|
donotify=True)
|
||||||
|
|||||||
@@ -128,7 +128,7 @@
|
|||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="10">
|
<Update release="10">
|
||||||
<Date>2022-07-30</Date>
|
<Date>2022-07-31</Date>
|
||||||
<Version>4.2.8_p15</Version>
|
<Version>4.2.8_p15</Version>
|
||||||
<Comment>Rebuild.</Comment>
|
<Comment>Rebuild.</Comment>
|
||||||
<Name>Mustafa Cinasal</Name>
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user