summaryrefslogtreecommitdiff
path: root/extra/ntp/ntpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ntp/ntpd.service')
-rw-r--r--extra/ntp/ntpd.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/ntp/ntpd.service b/extra/ntp/ntpd.service
index 45239877f..cfd965a6b 100644
--- a/extra/ntp/ntpd.service
+++ b/extra/ntp/ntpd.service
@@ -5,7 +5,8 @@ After=network.target nss-lookup.target
[Service]
Type=forking
PrivateTmp=true
-ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+PIDFile=/run/ntpd.pid
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
Restart=always
[Install]