6
test -f /usr/sbin/ntpd || exit 0
7
. /lib/lsb/init-functions
11
log_begin_msg "Starting NTP server..."
12
start-stop-daemon --start --quiet --pidfile /var/run/ntpd.pid --exec /usr/sbin/ntpd -- -p /var/run/ntpd.pid
16
log_begin_msg "Stopping NTP server..."
17
start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid
26
log_success_msg "Usage: /etc/init.d/ntp-server {start|stop|restart|force-reload}"