2 <!DOCTYPE cfgdirdoc SYSTEM "cfgdirdoc.dtd" [
3 <!ENTITY init-scriptlet-params
5 <param id='vserver-dir'>
6 <description>The configuration directory of the current vserver</description>
8 <param id='vserver-name'>
9 <description>The name of the current vserver</description>
12 <description>The fixed value of the current action (e.g. 'prepre-start', 'post-stop', ...).</description>
15 <!ENTITY init-script-text "The scriptlet">
16 <!ENTITY init-dir-text "A directory with scriptlets">
17 <!ENTITY init-dir-script-text "A scriptlet">
19 <!ENTITY init-prepre-start "which will be executed before the network-interfaces are enabled
20 and the directories are mounted.">
21 <!ENTITY init-pre-start "which will be executed after network-interfaces were enabled and
22 the directories mounted, but before the vserver itself has been
24 <!ENTITY init-post-start "which will be executed after the vserver has been started.">
25 <!ENTITY init-pre-stop "which will be executed before the vserver will be stopped.">
26 <!ENTITY init-post-stop "which will be executed after the vserver has been stopped, but
27 before the directories will be umounted and the the interfaces
29 <!ENTITY init-postpost-stop "which will be executed after the vserver has been stopped
35 <topleveldir path="@CONFDIR@">
36 <description>The base configuration directory.</description>
38 <dir name=".defaults" type="fixed" optional="yes">
39 <dir name="init" type="fixed">
41 <description>Default mtab-file</description>
45 <symlink name="vdirbase">
46 <description></description>
47 <default>/vservers</default>
50 <dir name="apps" type="fixed">
51 <dir name="pkgmgmt" type="fixed">
53 <description></description>
54 <default>/vservers/.pkg</default>
57 <file name="apt.conf">
58 <description>The default apt.conf which is going to be used. It is overridden by
59 distribution specific configuration file.</description>
63 <dir name="debootstrap" type="fixed">
65 <description>The Debian mirror which is used for 'debootstrap'.</description>
69 <description>When the 'debootstrap' package is not installed; fetch it from this uri and
70 install it at a temporary place.</description>
76 <dir name=".distributions" type="fixed" optional="yes">
77 <dir name="dist" type="symbolic">
79 <description></description>
82 <file name="apt.conf">
83 <description>The default apt.conf which is going to be used .It overrides the apt.conf
84 from @CONFDIR@/.defaults/apps/pkgmgmt.</description>
87 <script name="initpre">
88 <description>Script which will be executed before packages will be installed.</description>
91 <description>The configuration directory of the vserver which is going to be set
96 <description>The pathname of the vserver binary.</description>
101 <script name="initpost">
102 <description>Script which will be executed after packages are installed.</description>
105 <description>The configuration directory of the vserver which is going to be set
110 <description>The pathname of the vserver binary.</description>
115 <dir name="pkgs" type="fixed">
116 <description>Contains files with packages.</description>
117 <file name="list" type="symbolic">
118 <description>File which contains the name of packages. On top of file the special
119 keywords '--reinstall' and '--can-fail' are possible.</description>
123 <dir name="pubkeys" type="fixed">
124 <description>Directory with GPG pubkeys which are used to sign the packages of this
125 distribution.</description>
128 <dir name="apt" type="fixed">
129 <description>Default content of the /etc/apt/ directory.</description>
132 <dir name="rpm" type="fixed">
133 <description>Default content of the /etc/rpm directory.</description>
136 <symlink name="rpmlib">
137 <description>Directory which overrides /usr/lib/rpm.</description>
140 <symlink name="execdir">
141 <description>Directory with all executables and libraries which are required for this
142 distribution.</description>
145 </dir> <!-- .distributions -->
147 <dir name="vserver-name" type="symbolic">
148 <description>The configuration directory for the vserver vserver-name.</description>
150 <file name="hostname">
151 <description>Contains the hostname of the vserver.</description>
155 <description>Contains the name of the vserver. When not given, the basename of the directory
156 will be assumed as this name.</description>
159 <file name="domainname">
160 <description>The domainname of the vserver.</description>
164 <description>The nice-level on which the vserver will be started.</description>
167 <file name="capabilities">
168 <description>Contains per line a capability.</description>
172 <description>Contains the pathname of the shell which will be used by the "vserver ... enter"
173 command.</description>
177 <description>Contains per line a flag.</description>
180 <file name="context">
181 <description>Contains the context which shall be used for the vserver.</description>
185 <description>The fstab file for the vserver.</description>
188 <dir name="apps" type="fixed">
189 <dir name="init" type="fixed">
191 <description>The initial-mtab which will be used for the vserver.</description>
195 <description>Contains the init-style; possible values are 'sysv', 'plain' and
196 'minit'.</description>
199 <file name="runlevel">
200 <description>The start runlevel.</description>
203 <file name="runlevel.start">
204 <description>The start runlevel.</description>
207 <file name="runlevel.stop">
208 <description>The stop runlevel.</description>
211 <file name="killseq">
212 <description>Contains the 'signal [wait signal]*' sequence which is used to stop the
213 vserver.</description>
216 <file name="cmd.start">
217 <description>The command which is used to start the vserver. Each option must be on a
218 separate line.</description>
221 <file name="cmd.start-sync">
222 <description>The command which is used to wait on the vserver after it has been
223 started. Each option must be on a separate line. This file will be ignored when the
224 'sync' does not exist and the '--sync' option was not used.</description>
227 <file name="cmd.stop">
228 <description>The command which is used to stop the vserver. Each option must be on a
229 separate line.</description>
232 <file name="cmd.stop-sync">
233 <description>The command which is used to wait on the vserver after it has been
234 stopped. Each option must be on a separate line. This file will be ignored when the
235 'sync' does not exist and the '--sync' option was not used.</description>
238 <file name="cmd.prepare">
239 <description>The command which is used to setup the init-system (e.g. to set the runlevel
240 in the utmp-file). Each option must be on a separate line.</description>
244 <description>Without this file, the 'cmd.*-sync' files will be ignored.</description>
249 <dir name="scripts" type="fixed">
250 <script name="prepre-start">
251 <description>&init-script-text; &init-prepre-start;</description>
252 &init-scriptlet-params;
254 <dir name="prepre-start.d" type="fixed">
255 <description>&init-dir-text; &init-prepre-start;</description>
257 <script name="script">
258 <description>&init-dir-script-text; &init-prepre-start;</description>
259 &init-scriptlet-params;
263 <script name="pre-start">
264 <description>&init-script-text; &init-pre-start;</description>
265 &init-scriptlet-params;
268 <dir name="pre-start.d">
269 <description>&init-dir-text; &init-pre-start;</description>
271 <script name="script">
272 <description>&init-dir-script-text; &init-pre-start;</description>
273 &init-scriptlet-params;
278 <script name="post-start">
279 <description>&init-script-text; &init-post-start;</description>
280 &init-scriptlet-params;
283 <dir name="post-start.d">
284 <description>&init-dir-text; &init-post-start;</description>
286 <script name="script">
287 <description>&init-dir-script-text; &init-post-start;</description>
288 &init-scriptlet-params;
292 <script name="pre-stop">
293 <description>&init-script-text; &init-pre-stop;</description>
294 &init-scriptlet-params;
297 <dir name="pre-stop.d" type="fixed">
298 <description>&init-dir-text; &init-pre-stop;</description>
299 <script name="script">
300 <description>&init-dir-script-text; &init-pre-stop;</description>
301 &init-scriptlet-params;
305 <script name="post-stop">
306 <description>&init-script-text; &init-post-stop;</description>
307 &init-scriptlet-params;
310 <dir name="post-stop.d" type="fixed">
311 <description>&init-dir-text; &init-post-stop;</description>
312 <script name="script">
313 <description>&init-dir-script-text; &init-post-stop;</description>
314 &init-scriptlet-params;
318 <script name="postpost-stop">
319 <description>&init-script-text; &init-postpost-stop;</description>
320 &init-scriptlet-params;
323 <dir name="postpost-stop.d" type="fixed">
324 <description>&init-dir-text; &init-postpost-stop;</description>
325 <script name="script">
326 <description>&init-dir-script-text; &init-postpost-stop;</description>
327 &init-scriptlet-params;
334 <dir name="interfaces" type="fixed">
336 <description>The deafult broadcast address.</description>
339 <description>The default network-device.</description>
342 <description>The default network-prefix.</description>
345 <description>The default network-mask.</description>
348 <description>The default scope of the network interfaces.</description>
351 <dir name="iface" type="symbolic">
352 <file name="disabled">
353 <description>When this file exists, this interface will be ignored.</description>
357 <description>The ip which will be assigned to this interface.</description>
360 <description>The broadcast address.</description>
363 <description>The network-device.</description>
366 <description>The network-prefix.</description>
369 <description>The network-mask.</description>
372 <description>The scope of the network interfaces.</description>
375 <description>When this file exists, the interface will be named.</description>
380 <dir name="ulimits" type="fixed">
381 <description>A directory with ulimits. Possible resources are cpu, data, fsize, locks,
382 memlock, nofile, nproc, rss and/or stack.</description>
384 <file name="resource" type="symbolic">
385 <description>A file which contains the hard- and soft-limit of the given resource in the
386 first line. The special keyword 'inf' is recognized.</description>
389 <file name="resource.hard" type="symbolic">
390 <description>A file which contains the hard- of the given resource in the first line. The
391 special keyword 'inf' is recognized.</description>
394 <file name="resource.soft" type="symbolic">
395 <description>A file which contains the soft- of the given resource in the first line. The
396 special keyword 'inf' is recognized.</description>