summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ntp/ntpd.service')
-rw-r--r--abs/core/ntp/ntpd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/ntp/ntpd.service b/abs/core/ntp/ntpd.service
new file mode 100644
index 0000000..e0cbf87
--- /dev/null
+++ b/abs/core/ntp/ntpd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Network Time Service
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ntpd.pid
+EnvironmentFile=/etc/conf.d/ntpd.conf
+ExecStart=/usr/bin/ntpd $NTPD_ARGS -p /run/ntpd.pid
+
+[Install]
+WantedBy=multi-user.target