]> git.pld-linux.org Git - packages/apache-tomcat.git/commitdiff
- share, not lib - maybe that file should change name to apache-tomcat
authorPaweł Gołaszewski <blues@pld-linux.org>
Mon, 20 Aug 2007 22:08:06 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-tomcat.init -> 1.8
    jakarta-tomcat.init -> 1.8

apache-tomcat.init
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
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.079639 seconds and 4 git commands to generate.