aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/ntpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/ntpd.service')
-rw-r--r--clfs/units/ntpd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/clfs/units/ntpd.service b/clfs/units/ntpd.service
new file mode 100644
index 0000000..b8f06bc
--- /dev/null
+++ b/clfs/units/ntpd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Network Time Protocol daemon
+After=network.target nss-lookup.target
+
+[Service]
+Type=forking
+PrivateTmp=true
+ExecStart=/usr/sbin/ntpd -g -u ntp:ntp
+ControlGroup=cpu:/
+
+[Install]
+WantedBy=multi-user.target
+