--- vserver-0.22.orig/rebootmgr.sysv
+++ vserver-0.22/rebootmgr.sysv
@@ -9,27 +9,45 @@
 
 USR_SBIN=/usr/sbin
 PIDFILE=/var/run/rebootmgr.pid
+
+VSERVERS_ROOT=/vservers
+
+if [ -r /etc/vserver.conf ] ; then
+    . /etc/vserver.conf
+fi
+
+export VSERVERS_ROOT
+
 # See how we were called.
 case "$1" in
   start)
-	echo "Starting the reboot manager"
-	cd /etc/vservers
-	VSERVERS=
-	for serv in *.conf
-	do
+	echo -n "Starting the reboot manager: "
+	if [ ! -e "$PIDFILE" ] ; then
+	    cd /etc/vservers
+	    VSERVERS=
+	    for serv in *.conf ; do
 		serv=`basename $serv .conf`
-		if [ -d /vservers/$serv ] ; then
-			VSERVERS="$VSERVERS $serv"
+		if [ -d $VSERVERS_ROOT/$serv ] ; then
+		    VSERVERS="$VSERVERS $serv"
 		fi
-	done
-	$USR_SBIN/rebootmgr --pidfile $PIDFILE $VSERVERS &
-	touch /var/lock/subsys/rebootmgr
+	    done
+	    $USR_SBIN/rebootmgr --pidfile $PIDFILE $VSERVERS &
+	    touch /var/lock/subsys/rebootmgr
+	    echo "rebootmgr."
+	else
+	    echo "already started."
+	fi
 	;;
   stop)
-	echo "Stopping the reboot manager"
-	kill `cat $PIDFILE`
-	rm -f /var/lock/subsys/rebootmgr
-	rm -f $PIDFILE
+	echo -n "Stopping the reboot manager: "
+	if [ -s "$PIDFILE" ] ; then
+	    kill `cat $PIDFILE`
+	    rm -f /var/lock/subsys/rebootmgr
+	    rm -f $PIDFILE
+	    echo "rebootmgr."
+	else
+	    echo "already stopped."
+	fi
 	;;
   restart)
 	$0 stop
@@ -38,6 +56,9 @@
   reload)
 	echo Not implemented
 	;;
+  force-reload)
+  	$0 restart
+	;;
   status)
 	if [ -f $PIDFILE ] ; then
 		if kill -0 `cat $PIDFILE`
