summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntpdate.service
diff options
context:
space:
mode:
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