Integrate Leonardo's LSB init script patch
authorGuido Trotter <ultrotter@google.com>
Tue, 25 Sep 2007 14:22:41 +0000 (14:22 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 25 Sep 2007 14:22:41 +0000 (14:22 +0000)
Reviewed-By: imsnah

doc/examples/ganeti.initd.in

index 9faba73..a181323 100644 (file)
@@ -1,6 +1,15 @@
 #!/bin/sh
 # ganeti node daemon starter script
 # based on skeleton from Debian GNU/Linux
+### BEGIN INIT INFO
+# Provides:          ganeti
+# Required-Start:    $syslog $remote_fs xend
+# Required-Stop:     $syslog $remote_fs xend
+# Default-Start:     2 3 4 5
+# Default-Stop:      S 0 1 6
+# Short-Description: Ganeti Xen Cluster Manager
+# Description:       Ganeti Xen Cluster Manager 
+### END INIT INFO
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
 DESC="Ganeti cluster"