From 0dce32189a6321eba011490596caf37af801a200 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Tue, 26 Feb 2008 20:46:23 -0500 Subject: [PATCH] Made sure that the daemon gets run out of the right directory svn path=/trunk/packages/sipb-xen-dhcp/; revision=275 --- debian/sipb-xen-dhcp.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/sipb-xen-dhcp.init b/debian/sipb-xen-dhcp.init index dda13c6..d0d97bf 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 -n $NAME -U $DAEMON $DAEMON_ARGS || return 2 + daemon -r -D "$(dirname $DAEMON)" -n $NAME -U $DAEMON $DAEMON_ARGS || return 2 } # -- 1.7.9.5