|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend NetBSD init script: fixed problem wh
# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
# Date 1310996311 -3600
# Node ID e298ce67777eb45187d6581a0c51c2dbe7161000
# Parent 31dd84463eece20bd01c7aee22b52a0c06c67545
xend NetBSD init script: fixed problem when restarting xend
When restarting xend, the rc.d script was unable to find the pid of
the running xend, so no process was restarted.
Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
diff -r 31dd84463eec -r e298ce67777e tools/hotplug/NetBSD/rc.d/xend
--- a/tools/hotplug/NetBSD/rc.d/xend Sat Jul 16 09:25:48 2011 +0100
+++ b/tools/hotplug/NetBSD/rc.d/xend Mon Jul 18 14:38:31 2011 +0100
@@ -10,12 +10,15 @@
LD_LIBRARY_PATH="${LIBDIR}"
export LD_LIBRARY_PATH PYTHONPATH
+PATH="${PATH}:${SBINDIR}"
+export PATH
name="xend"
rcvar=$name
command="${SBINDIR}/xend"
-start_cmd="echo Starting ${name}. && PATH=${PATH}:${SBINDIR} ${command} start"
-pidfile="/var/run/xend.pid"
+command_args="start"
+command_interpreter=`head -n 1 ${command} | awk '{ print substr($0,3) }'`
+sig_stop="SIGKILL"
load_rc_config $name
run_rc_command "$1"
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend NetBSD init script: fixed problem when restarting xend,
Xen patchbot-unstable <=
|
|
|
|
|