aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-01-17 17:52:39 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-01-17 17:52:39 +0000
commit65285155c6d2d90301a3f027263e630920831474 (patch)
treed2587ebdf912453027a76ed5e754213b61a50f55 /tools/hotplug
parent2e42ad0cefa34dd6f8600ed1ef53eb6ad73ab842 (diff)
downloadxen-65285155c6d2d90301a3f027263e630920831474.tar.gz
xen-65285155c6d2d90301a3f027263e630920831474.tar.bz2
xen-65285155c6d2d90301a3f027263e630920831474.zip
tools/hotplug/Linux: start xen daemons in runlevel 2.
This is the default runlevel on a Debian system. In addition update-rc.d complains: update-rc.d: warning: xencommons stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1) and it seems reasonable to stop the daemons during shutdown or reboot so make that change as well. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r--tools/hotplug/Linux/init.d/xencommons4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hotplug/Linux/init.d/xencommons b/tools/hotplug/Linux/init.d/xencommons
index 873f6884e8..9d3ea3fb29 100644
--- a/tools/hotplug/Linux/init.d/xencommons
+++ b/tools/hotplug/Linux/init.d/xencommons
@@ -12,8 +12,8 @@
# Should-Start:
# Required-Stop: $syslog $remote_fs
# Should-Stop:
-# Default-Start: 3 4 5
-# Default-Stop: 1
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
# Short-Description: Start/stop xenstored and xenconsoled
# Description: Starts and stops the daemons neeeded for xl/xend
### END INIT INFO