File: vservers-default

package info (click to toggle)
util-vserver 0.30.204-5sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,452 kB
  • ctags: 2,353
  • sloc: sh: 28,471; ansic: 15,138; xml: 1,334; cpp: 938; makefile: 334; perl: 85
file content (25 lines) | stat: -rwxr-xr-x 956 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# chkconfig: - 98 02
# description: Wrapper to start the default vservers

## 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

## Number of vservers which shall be started in parallel; since most
## initmethods are spending much time time in sleeps, it is safe to
## use a high number here
#NUMPARALLEL=99

## The vserver-flavor; the 'default' vservers will be started very late
## which may be inappropriately for early services like nameservers or
## VPN tunnels. By copying this initscript to a new name and adapting
## the startup-position (for RH/Fedora the numbers in line 2), other
## vservers can be selected. Identification of vservers happens by
## putting the flavor into /etc/vservers/<vserver-id>/apps/init/mark.
#MARK=default

export MARK NUMPARALLEL LOCKFILE
exec /usr/lib/util-vserver/vserver-wrapper "$@"