From: Eric Price <ecprice@mit.edu>
Date: Fri, 28 Mar 2008 23:09:08 +0000 (-0400)
Subject: Log dhcp output to syslog.  Analogous to -r 283, but for dhcp instead of dns.
X-Git-Tag: sipb-xen-dhcp/1~1
X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dhcp.git/commitdiff_plain/5cb7d841281e915de485076760ffe7134971afa2

Log dhcp output to syslog.  Analogous to -r 283, but for dhcp instead of dns.

svn path=/trunk/packages/sipb-xen-dhcp/; revision=284
---

diff --git a/debian/sipb-xen-dhcp.init b/debian/sipb-xen-dhcp.init
index d0d97bf..a1b14be 100644
--- a/debian/sipb-xen-dhcp.init
+++ b/debian/sipb-xen-dhcp.init
@@ -45,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 -D "$(dirname $DAEMON)" -n $NAME -U $DAEMON $DAEMON_ARGS || return 2
+	daemon -r -D "$(dirname $DAEMON)" -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2
 }
 
 #