diff options
Diffstat (limited to 'extra/ntp/ntpdate.service')
-rw-r--r-- | extra/ntp/ntpdate.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/ntp/ntpdate.service b/extra/ntp/ntpdate.service new file mode 100644 index 000000000..82d72d8b6 --- /dev/null +++ b/extra/ntp/ntpdate.service @@ -0,0 +1,12 @@ +[Unit] +Description=One-Shot Network Time Service +After=network.target nss-lookup.target + +[Service] +Type=oneshot +PrivateTmp=true +ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp +ControlGroup=cpu:/ + +[Install] +WantedBy=multi-user.target |