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 ExecStart=/usr/bin/ntpd -g -u ntp:ntp ControlGroup=cpu:/ Restart=always [Install] WantedBy=multi-user.target