]> git.pld-linux.org Git - packages/tomcat.git/blobdiff - jakarta-tomcat.init
- share, not lib - maybe that file should change name to apache-tomcat
[packages/tomcat.git] / jakarta-tomcat.init
index 5e97bb4185d3b075f943004ba3e29f28d429724e..cbfba78de26fe89c9db380553ca45874eb57361c 100644 (file)
@@ -36,7 +36,7 @@ case "$1" in
        if [ ! -f /var/lock/subsys/tomcat ]; then
                msg_starting tomcat
                busy
-               su - http -s /bin/sh -c /usr/lib/tomcat/bin/startup.sh >/dev/null 2>&1
+               su - http -s /bin/sh -c /usr/share/tomcat/bin/startup.sh >/dev/null 2>&1
                [ $? -ne 0 ] && RETVAL=1
                [ $RETVAL -eq 0 ] && ok || fail
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/tomcat
@@ -49,7 +49,7 @@ case "$1" in
                # Stop daemons.
                msg_stopping tomcat
                busy
-               su - http -s /bin/sh -c /usr/lib/tomcat/bin/shutdown.sh >/dev/null 2>&1
+               su - http -s /bin/sh -c /usr/share/tomcat/bin/shutdown.sh >/dev/null 2>&1
                [ $? -eq 0 ] && ok || fail
                rm -f /var/lock/subsys/tomcat
        else
This page took 0.071715 seconds and 4 git commands to generate.