Skip to contentSkip to conversation

init.d - info (eg SuSE-init)

PATCH New Robert Valentan 1 participant 1 message Apr 27, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 init.d - info (eg SuSE-init)

This patch add the needed info's into the init.d/xend file. Without it SuSE (or others?) will start xend before the network..

Signature · 1 line
Robert Valentan
tools/examples/init.d/xend +12 -0
diff -r ee16cdeddade tools/examples/init.d/xend
@@ -6,6 +6,18 @@
 #
 # chkconfig: 2345 98 01
 # description: Starts and stops the Xen control daemon.
+### BEGIN INIT INFO
+# Provides:          xend
+# Required-Start:    $syslog $remote_fs
+# Should-Start:
+# Required-Stop:     $syslog $remote_fs
+# Should-Stop:
+# Default-Start:     3 4 5
+# Default-Stop:      0 1 2 6
+# Default-Enabled:   yes
+# Short-Description: Start/stop xend
+# Description:       Starts and stops the Xen control daemon.
+### END INIT INFO
 
 if ! grep -q "control_d" /proc/xen/capabilities ; then
 	exit 0

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel