15 lines
277 B
SYSTEMD
15 lines
277 B
SYSTEMD
|
[Unit]
|
||
|
Description=Network Time Service
|
||
|
After=network.target nss-lookup.target
|
||
|
Conflicts=systemd-timesyncd.service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PrivateTmp=true
|
||
|
ExecStartPre=/usr/bin/ntpd -gq
|
||
|
ExecStart=/usr/bin/ntpd -g -u ntp:ntp
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|