LSB-compliant init script.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 1 Nov 2011 19:04:43 +0000 (19:04 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 1 Nov 2011 19:04:43 +0000 (19:04 +0000)
org.glite.px.proxyrenewal/config/startup
org.gridsite.core/src/slashgrid.init

index a7e681f..610bfd9 100755 (executable)
@@ -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;;
index f83b43e..d68e768 100755 (executable)
@@ -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