]> git.pld-linux.org Git - packages/util-vserver.git/blobdiff - util-vserver.init
- yum is gone
[packages/util-vserver.git] / util-vserver.init
old mode 100644 (file)
new mode 100755 (executable)
index 50b0113..3f7e025
@@ -2,7 +2,7 @@
 #
 # util-vserver:        sets the path to vshelper and kills all guest processes
 #
-# chkconfig:   2345 10 99
+# chkconfig:   2345 10 70
 # description: Sets the path to vshelper and kills all guest processes
 
 # if kernel not capable, exit early
@@ -17,7 +17,7 @@ fi
 # Source function library
 . /etc/rc.d/init.d/functions
 
-[ -n "$UTIL_VSERVER_VARS" ] || UTIL_VSERVER_VARS=/usr/lib/util-vserver/util-vserver-vars
+[ -n "$UTIL_VSERVER_VARS" ] || UTIL_VSERVER_VARS=/usr/share/util-vserver/util-vserver-vars
 if [ ! -e "$UTIL_VSERVER_VARS" ] ; then
        echo "Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
        exit 1
@@ -85,6 +85,8 @@ case "$1" in
   stop)
        stop
        ;;
+# restart behaves like reload because a stop-start sequence
+# would kill all running vservers AND would not start them
   restart|reload|force-reload)
        start
        [ $? -ne 0 ] && RETVAL=7
This page took 0.033263 seconds and 4 git commands to generate.