1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
# NTP Daemon # # Synchronizes the system clock with network time servers per # /etc/inet/ntp.conf. Runs ntpd in foreground mode. [service] name = "ntp" description = "Network Time Protocol Daemon" type = "daemon" [exec] start = "/usr/lib/inet/ntpd -n" [stop] method = "contract" signal = "TERM" timeout = 30 [dependencies] requires = ["network", "dns-client"] after = ["syslog"] [contract] param = ["inherit", "noorphan"] fatal = ["empty", "hwerr"] [restart] on = "failure" delay = 10 max_retries = 3