We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the Wiki Team page for instructions how to help or browse through our new wiki at wiki.linux-vserver.org to find the information already migrated.

dummy line

# cat /usr/src/vservers-default-debianiazed.patch
--- /usr/src/vservers-default.orig      2006-02-05 14:37:38.000000000 +0100
+++ /usr/src/vservers-default.debianized        2006-02-05 14:38:14.000000000 +0100
@@ -2,10 +2,14 @@
 # chkconfig: - 98 02
 # description: Wrapper to start the default vservers

+AUTOSTART=true
+DEBIANCONFIG=/etc/default/$(basename $0)
+test -f $DEBIANCONFIG && . $DEBIANCONFIG
+
 ## The *basename* of the lockfile; this must be the same name like
 ## this if the initscript. Else, the vservers will not be stopped at
 ## shutdown
-#LOCKFILE=vserver-default
+LOCKFILE=$(basename $0)

 ## Number of vservers which shall be started in parallel; since most
 ## initmethods are spending much time time in sleeps, it is safe to
@@ -21,5 +25,10 @@
 #MARK=default

 export MARK NUMPARALLEL LOCKFILE
-exec /usr/lib/util-vserver/vserver-wrapper "$@"
+if [ "$AUTOSTART" = "true" ]; then
+       exec /usr/local//lib/util-vserver/vserver-wrapper "$@";
+else
+       echo "AUTOSTART not enabled in $DEBIANCONFIG";
+fi
+