summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntpd.service
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-06 19:46:00 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-06 19:46:00 (GMT)
commitf3b88a74a85c8a877dbdcb61ed10fcca9b012c47 (patch)
tree86d16099a487a4fc897ff51c2d2403792811c701 /abs/core/ntp/ntpd.service
parentec63bf0b2aa743c007a46bb1587a5dbc0b5176a4 (diff)
downloadlinhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.zip
linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.tar.gz
linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.tar.bz2
ntp: update to 4.2.8.p10
Diffstat (limited to 'abs/core/ntp/ntpd.service')
-rw-r--r--abs/core/ntp/ntpd.service9
1 files changed, 5 insertions, 4 deletions
diff --git a/abs/core/ntp/ntpd.service b/abs/core/ntp/ntpd.service
index e0cbf87..267615c 100644
--- a/abs/core/ntp/ntpd.service
+++ b/abs/core/ntp/ntpd.service
@@ -1,12 +1,13 @@
[Unit]
Description=Network Time Service
-After=network.target
+After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
[Service]
Type=forking
-PIDFile=/run/ntpd.pid
-EnvironmentFile=/etc/conf.d/ntpd.conf
-ExecStart=/usr/bin/ntpd $NTPD_ARGS -p /run/ntpd.pid
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp
+Restart=always
[Install]
WantedBy=multi-user.target