LSB-compliant init scripts.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 1 Nov 2011 19:04:10 +0000 (19:04 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 1 Nov 2011 19:04:10 +0000 (19:04 +0000)
org.glite.lb.harvester/config/startup
org.glite.lb.logger/config/startup
org.glite.lb.server/config/startup

index 2768571..5cecb11 100755 (executable)
@@ -1,5 +1,13 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides: glite-lb-harvester
+# Description: L&B harvester deamon
+# Required-Start: $remote_fs $network $syslog
+# Required-Stop: $remote_fs $network $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
 # chkconfig: 345 75 25
+### END INIT INFO
 #
 # Copyright (c) Members of the EGEE Collaboration. 2004-2010.
 # See http://www.eu-egee.org/partners/ for details on the copyright holders.
@@ -185,7 +193,7 @@ cleanup()
 case x$1 in
        xstart) start;;
        xstop)  stop;;
-       xrestart) stop; start;;
+       xrestart|xforce-reload) stop; start;;
        xstatus) status;;
        xcleanup) cleanup;;
        x*)     echo usage: $0 start,stop,restart,status,cleanup >&2
index 9d7285f..aaffc93 100755 (executable)
@@ -1,5 +1,13 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides: glite-lb-locallogger
+# Description: L&B local logger and interlogger deamons
+# Required-Start: $remote_fs $network $syslog
+# Required-Stop: $remote_fs $network $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
 # chkconfig: 345 76 24
+### END INIT INFO
 #
 # Copyright (c) Members of the EGEE Collaboration. 2004-2010.
 # See http://www.eu-egee.org/partners/ for details on the copyright holders.
@@ -177,7 +185,7 @@ status()
 case x$1 in
        xstart) start;;
        xstop)  stop;;
-       xrestart) stop; start;;
+       xrestart|xforce-reload) stop; start;;
        xstatus) status;;
        x*)     echo usage: $0 start,stop,restart,status >&2
                exit 1;;
index 40795d9..bf23960 100755 (executable)
@@ -1,5 +1,13 @@
 #!/bin/sh
+### BEGIN INIT INFO
+# Provides: glite-lb-bkserverd
+# Description: L&B server daemon
+# Required-Start: $remote_fs $network $syslog
+# Required-Stop: $remote_fs $network $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
 # chkconfig: 345 75 25
+### END INIT INFO
 #
 # Copyright (c) Members of the EGEE Collaboration. 2004-2010.
 # See http://www.eu-egee.org/partners/ for details on the copyright holders.
@@ -294,7 +302,7 @@ status()
 case x$1 in
        xstart) start;;
        xstop)  stop;;
-       xrestart) stop; start;;
+       xrestart|xforce-reload) stop; start;;
        xstatus) status;;
        x*)     echo usage: $0 start,stop,restart,status >&2
                exit 1;;