3 # description: Wrapper to start the default vservers
5 ## The *basename* of the lockfile; this must be the same name like
6 ## this if the initscript. Else, the vservers will not be stopped at
8 #LOCKFILE=vserver-default
10 ## Number of vservers which shall be started in parallel; since most
11 ## initmethods are spending much time time in sleeps, it is safe to
12 ## use a high number here
15 ## The vserver-flavor; the 'default' vservers will be started very late
16 ## which may be inappropriately for early services like nameservers or
17 ## VPN tunnels. By copying this initscript to a new name and adapting
18 ## the startup-position (for RH/Fedora the numbers in line 2), other
19 ## vservers can be selected. Identification of vservers happens by
20 ## putting the flavor into /etc/vservers/<vserver-id>/apps/init/mark.
23 export MARK NUMPARALLEL LOCKFILE
24 exec /usr/lib/util-vserver/vserver-wrapper "$@"