X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=ApacheJServ.init;h=749407831cc2fe9726d3601659702db0e3cdd306;hb=1e13b7579809241a43bf60317e5e9a496c24360b;hp=827b221367aa553306bbae9af4a61a17b960024c;hpb=f92e00606d98fc8cc13ef433932766895280ee1d;p=packages%2FApacheJServ.git 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