3 # description: Wrapper to start the default vservers
6 # Provides: vservers-default
7 # Required-Start: $remote_fs $syslog $time $network vprocunhide util-vserver
8 # Required-Stop: $remote_fs $syslog $time $network vprocunhide util-vserver
9 # Default-Start: 2 3 4 5
11 # Short-Description: Wrapper to start the default vservers
12 # Description: Wrapper to start the default vservers
15 ## The *basename* of the lockfile; this must be the same name like
16 ## this if the initscript. Else, the vservers will not be stopped at
18 #LOCKFILE=vserver-default
20 ## Number of vservers which shall be started in parallel; since most
21 ## initmethods are spending much time time in sleeps, it is safe to
22 ## use a high number here
25 ## The vserver-flavor; the 'default' vservers will be started very late
26 ## which may be inappropriately for early services like nameservers or
27 ## VPN tunnels. By copying this initscript to a new name and adapting
28 ## the startup-position (for RH/Fedora the numbers in line 2), other
29 ## vservers can be selected. Identification of vservers happens by
30 ## putting the flavor into /etc/vservers/<vserver-id>/apps/init/mark.
33 if test -r /etc/sysconfig/vservers-default; then
34 . /etc/sysconfig/vservers-default
36 if test -r /etc/default/vservers-default; then
37 . /etc/default/vservers-default
40 export MARK NUMPARALLEL LOCKFILE
41 exec /usr/lib/util-vserver/vserver-wrapper "$@"