summaryrefslogtreecommitdiff
path: root/extra/ntp/ntpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ntp/ntpd.service')
-rw-r--r--extra/ntp/ntpd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/ntp/ntpd.service b/extra/ntp/ntpd.service
new file mode 100644
index 000000000..e0cbf879e
--- /dev/null
+++ b/extra/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