summaryrefslogtreecommitdiff
path: root/extra/ntp/ntpdate.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
committerroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
commita829a3b1a4b3eefc7adb1d630f071247e79b9f72 (patch)
tree486be176b9303db0602521e1078dff6d5b04fb71 /extra/ntp/ntpdate.service
parent1b9faba25721b73f30e49f0cea9c7346eedd0f73 (diff)
Sat Dec 15 02:25:53 PST 2012
Diffstat (limited to 'extra/ntp/ntpdate.service')
-rw-r--r--extra/ntp/ntpdate.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/ntp/ntpdate.service b/extra/ntp/ntpdate.service
new file mode 100644
index 000000000..82d72d8b6
--- /dev/null
+++ b/extra/ntp/ntpdate.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=One-Shot Network Time Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=oneshot
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
+ControlGroup=cpu:/
+
+[Install]
+WantedBy=multi-user.target