From: František Dvořák Date: Tue, 1 Nov 2011 19:04:10 +0000 (+0000) Subject: LSB-compliant init scripts. X-Git-Tag: glite-jobid-api-c_R_2_0_3_2~8 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=529d2b5d61c7aa8a565b858c6ec1fb939564e903;p=jra1mw.git LSB-compliant init scripts. --- diff --git a/org.glite.lb.harvester/config/startup b/org.glite.lb.harvester/config/startup index 2768571..5cecb11 100755 --- a/org.glite.lb.harvester/config/startup +++ b/org.glite.lb.harvester/config/startup @@ -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 diff --git a/org.glite.lb.logger/config/startup b/org.glite.lb.logger/config/startup index 9d7285f..aaffc93 100755 --- a/org.glite.lb.logger/config/startup +++ b/org.glite.lb.logger/config/startup @@ -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;; diff --git a/org.glite.lb.server/config/startup b/org.glite.lb.server/config/startup index 40795d9..bf23960 100755 --- a/org.glite.lb.server/config/startup +++ b/org.glite.lb.server/config/startup @@ -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;;