]> git.pld-linux.org Git - packages/Zope3.git/blobdiff - Zope3.init
- updated for 3.2.0
[packages/Zope3.git] / Zope3.init
index 4744a5a5be0cfdaf22289d58503d1ddd714b258f..311810dde639ca0a836a445fbcf115fc64a70055 100644 (file)
@@ -34,7 +34,7 @@ zope_ctl()
        action="$3"
        errors=""
        typeset -i exit_code=0
-       
+
        show "$message"; busy
        if ! cd "$instance_home/var" 2>/dev/null ; then
                fail
@@ -62,7 +62,7 @@ start_instances()
 
        if [ -f /var/lock/subsys/"zope3-$INSTANCE_NAME" ]; then
                msg_already_running "Zope 3 instance $INSTANCE_NAME"
-               continue        
+               continue
        fi
 
        zope_ctl "Starting Zope instance $INSTANCE_NAME" "$INSTANCE_HOME" start
@@ -84,9 +84,9 @@ stop_instances()
 
        if [ ! -f /var/lock/subsys/"zope3-$INSTANCE_NAME" ]; then
                msg_not_running "Zope 3 instance $INSTANCE_NAME"
-               continue        
+               continue
        fi
-       
+
        zope_ctl "Stopping Zope instance $INSTANCE_NAME" "$INSTANCE_HOME" stop
 
        RET=$?
@@ -118,14 +118,14 @@ case "$1" in
                if [ "$RETVAL" = 0 ] ; then
                        msg_starting "Zope 3"
                        ok
-                       touch /var/lock/subsys/zope
+                       touch /var/lock/subsys/zope3
                else
                        msg_starting "Zope 3"
                        fail
                fi
        ;;
   stop)
-       if [ -f /var/lock/subsys/zope ]; then
+       if [ -f /var/lock/subsys/zope3 ]; then
                msg_stopping "Zope 3"
                started
                stop_instances
@@ -137,7 +137,7 @@ case "$1" in
                        msg_stopping "Zope 3"
                        fail
                fi
-               rm -f /var/lock/subsys/zope >/dev/null 2>&1
+               rm -f /var/lock/subsys/zope3 >/dev/null 2>&1
         else
                msg_not_running "Zope 3"
                 exit 1
This page took 0.614521 seconds and 4 git commands to generate.