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