debuggers.hg

changeset 22817:726c616fca5e

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>
author Ian Campbell <ian.campbell@citrix.com>
date Mon Jan 17 17:52:39 2011 +0000 (2011-01-17)
parents 47be85d61f11
children 654563af359f
files tools/hotplug/Linux/init.d/xencommons
line diff
     1.1 --- a/tools/hotplug/Linux/init.d/xencommons	Mon Jan 17 17:48:16 2011 +0000
     1.2 +++ b/tools/hotplug/Linux/init.d/xencommons	Mon Jan 17 17:52:39 2011 +0000
     1.3 @@ -12,8 +12,8 @@
     1.4  # Should-Start:
     1.5  # Required-Stop:     $syslog $remote_fs
     1.6  # Should-Stop:
     1.7 -# Default-Start:     3 4 5
     1.8 -# Default-Stop:      1
     1.9 +# Default-Start:     2 3 4 5
    1.10 +# Default-Stop:      0 1 6
    1.11  # Short-Description: Start/stop xenstored and xenconsoled
    1.12  # Description:       Starts and stops the daemons neeeded for xl/xend
    1.13  ### END INIT INFO