projects
/
invirt/packages/invirt-dhcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac9701
)
Made sure that the daemon gets run out of the right directory
author
Evan Broder
<broder@mit.edu>
Wed, 27 Feb 2008 01:46:23 +0000
(20:46 -0500)
committer
Evan Broder
<broder@mit.edu>
Wed, 27 Feb 2008 01:46:23 +0000
(20:46 -0500)
svn path=/trunk/packages/sipb-xen-dhcp/; revision=275
debian/sipb-xen-dhcp.init
patch
|
blob
|
history
diff --git
a/debian/sipb-xen-dhcp.init
b/debian/sipb-xen-dhcp.init
index
dda13c6
..
d0d97bf
100644
(file)
--- 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
}
#