From: Elan Ruusamäe Date: Thu, 6 Oct 2005 17:11:23 +0000 (+0000) Subject: - update chkconfig description, remove unsupported reload X-Git-Tag: ApacheJServ-1_1_2-1~15 X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=1e13b7579809241a43bf60317e5e9a496c24360b;p=packages%2FApacheJServ.git - update chkconfig description, remove unsupported reload Changed files: ApacheJServ.init -> 1.4 --- diff --git a/ApacheJServ.init b/ApacheJServ.init index 827b221..7494078 100644 --- a/ApacheJServ.init +++ b/ApacheJServ.init @@ -1,10 +1,10 @@ #!/bin/sh # -# jserv jserv short service description +# jserv standalone ApacheJServ process daemon # # chkconfig: 345 80 20 # -# description: jserv long service description +# description: jserv ApacheJServ standalone process # # $Id$ @@ -60,25 +60,12 @@ case "$1" in msg_not_running jserv fi ;; - restart) + restart|reload) $0 stop $0 start exit $? ;; - reload) - if [ -f /var/lock/subsys/jserv ]; then - msg_reloading jserv - killproc jserv -HUP - RETVAL=$? - else - msg_not_running jserv >&2 - RETVAL=7 - fi - ;; force-reload) - # if program allows reloading without stopping - $0 reload - # or if it doesn't $0 restart