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