#!/sbin/svc
# 
#  Copyright: ©2013, Güralp Systems Ltd.
#  Author: Laurence Withers <lwithers@guralp.com>
#  License: GPLv3
#
# NTP status watcher. Keeps an eye on the system clock and queries the NTP
# daemon directly, reporting via XML status. The "timing" service script is
# responsible for starting this script and any associated dependencies.

MYLISTING="Network time protocol status reporter."
CONTROL_GROUP="conf"
MYVERSION="2.0"



start() {
	daemonize /usr/sbin/ntpstatusd --user "daemon" --group "daemon"
}

stop() {
	kill_pid
}
