From 5fd19885063e7bd92feb453ff449ada3d09c0644 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 1 Nov 2011 19:04:43 +0000 Subject: [PATCH] LSB-compliant init script. --- org.glite.px.proxyrenewal/config/startup | 11 ++++++++++- org.gridsite.core/src/slashgrid.init | 11 ++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) 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 -- 1.8.2.3