ntp: enable automatic restart
NTPd sometimes fails to start on the first try, but works fine when restarted. Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
f0fb4a9ad8
commit
27915edf67
|
@ -6,6 +6,8 @@ After=network.target
|
|||
Type=forking
|
||||
PIDFile=/run/ntpd.pid
|
||||
ExecStart=/usr/sbin/ntpd -u ntp:ntp -p /run/ntpd.pid -g
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue