summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntpdate.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/ntpdate.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/ntpdate.service')
-rw-r--r--abs/core/ntp/ntpdate.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/ntp/ntpdate.service b/abs/core/ntp/ntpdate.service
new file mode 100644
index 0000000..e85852e
--- /dev/null
+++ b/abs/core/ntp/ntpdate.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=One-Shot Network Time Service
+After=network.target nss-lookup.target
+Before=ntpd.service
+
+[Service]
+Type=oneshot
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp
+
+[Install]
+WantedBy=multi-user.target