summaryrefslogtreecommitdiff
path: root/extra/ntp/ntpd.service
blob: cfd965a6b58077697f7c439708987b4c1cfbc8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Network Time Service
After=network.target nss-lookup.target

[Service]
Type=forking
PrivateTmp=true
PIDFile=/run/ntpd.pid
ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
Restart=always

[Install]
WantedBy=multi-user.target