X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dns.git/blobdiff_plain/fbabf89bd5bbb2d312d68e8841b692421cb7a08e..refs/tags/sipb-xen-dns/1.05.1:/debian/sipb-xen-dns.init diff --git a/debian/sipb-xen-dns.init b/debian/sipb-xen-dns.init index 2b8d3cb..b80a40c 100644 --- a/debian/sipb-xen-dns.init +++ b/debian/sipb-xen-dns.init @@ -9,10 +9,7 @@ # Description: ### END INIT INFO -# Author: Foo Bar -# -# Please remove the "Author" lines above and replace them -# with your own name if you copy and modify this script. +# Author: SIPB Xen Project # Do NOT "set -e" @@ -20,7 +17,7 @@ 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 @@ -48,7 +45,7 @@ do_start() # 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 } #