From: František Dvořák Date: Tue, 1 Nov 2011 19:04:43 +0000 (+0000) Subject: LSB-compliant init script. X-Git-Tag: glite-px-myproxy-yaim_R_4_1_5_1~7 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5fd19885063e7bd92feb453ff449ada3d09c0644;p=jra1mw.git LSB-compliant init script. --- diff --git a/org.glite.px.proxyrenewal/config/startup b/org.glite.px.proxyrenewal/config/startup index a7e681f..610bfd9 100755 --- a/org.glite.px.proxyrenewal/config/startup +++ b/org.glite.px.proxyrenewal/config/startup @@ -1,4 +1,13 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: glite-px-proxyrenewal +# 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 +# Description: Proxyrenewal deamon +### END INIT INFO # # Copyright (c) Members of the EGEE Collaboration. 2004-2010. # See http://www.eu-egee.org/partners/ for details on the copyright @@ -100,7 +109,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.gridsite.core/src/slashgrid.init b/org.gridsite.core/src/slashgrid.init index f83b43e..d68e768 100755 --- a/org.gridsite.core/src/slashgrid.init +++ b/org.gridsite.core/src/slashgrid.init @@ -1,7 +1,12 @@ #!/bin/bash -# -# slashgrid Startup script for the SlashGrid client-side server -# +### BEGIN INIT INFO +# Provides: slashgrid +# Required-Start: $remote_fs $network $syslog +# Required-Stop: $remote_fs $network $syslog +# Default-Start: +# Default-Stop: +# Description: Startup script for the SlashGrid client-side server +### END INIT INFO # chkconfig: - 90 10 # description: Filesystem extension for access to HTTP(S) file servers # processname: slashgrid