# Description:
### END INIT INFO
-# Author: Foo Bar <foobar@baz.org>
-#
-# Please remove the "Author" lines above and replace them
-# with your own name if you copy and modify this script.
+# Author: SIPB Xen Project <sipb-xen@mit.edu>
# Do NOT "set -e"
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="The sipb-xen DNS server"
NAME=sipb-xen-dns
-DAEMON=/usr/local/lib/sipb-xen-dns/dnsserver.py
+DAEMON=/usr/sbin/sipb-xen-dns
DAEMON_ARGS=""
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
# 1 if daemon was already running
# 2 if daemon could not be started
daemon --running -n $NAME && return 1
- daemon -r -n $NAME -U $DAEMON $DAEMON_ARGS || return 2
+ daemon -r -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2
}
#