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>
60 <dir name=".distributions" type="fixed" optional="yes">
61 <dir name="dist" type="symbolic">
63 <description></description>
66 <script name="initpre">
67 <description>Script which will be executed before packages will be installed.</description>
70 <description>The configuration directory of the vserver which is going to be set
75 <description>The pathname of the vserver binary.</description>
80 <script name="initpost">
81 <description>Script which will be executed after packages are installed.</description>
84 <description>The configuration directory of the vserver which is going to be set
89 <description>The pathname of the vserver binary.</description>
94 <dir name="pkgs" type="fixed">
95 <description>Contains files with packages.</description>
96 <file name="list" type="symbolic">
97 <description>File which contains the name of packages. On top of file the special
98 keywords '--reinstall' and '--can-fail' are possible.</description>
102 <dir name="pubkeys" type="fixed">
103 <description>Directory with GPG pubkeys which are used to sign the packages of this
104 distribution.</description>
107 <dir name="apt" type="fixed">
108 <description>Default content of the /etc/apt/ directory.</description>
111 <dir name="rpm" type="fixed">
112 <description>Default content of the /etc/rpm directory.</description>
115 <symlink name="rpmlib">
116 <description>Directory which overrides /usr/lib/rpm.</description>
119 <symlink name="execdir">
120 <description>Directory with all executables and libraries which are required for this
121 distribution.</description>
124 </dir> <!-- .distributions -->
126 <dir name="vserver-name" type="symbolic">
127 <description>The configuration directory for the vserver vserver-name.</description>
129 <file name="hostname">
130 <description>Contains the hostname of the vserver.</description>
134 <description>Contains the name of the vserver. When not given, the basename of the directory
135 will be assumed as this name.</description>
138 <file name="domainname">
139 <description>The domainname of the vserver.</description>
143 <description>The nice-level on which the vserver will be started.</description>
146 <file name="capabilities">
147 <description>Contains per line a capability.</description>
151 <description>Contains the pathname of the shell which will be used by the "vserver ... enter"
152 command.</description>
156 <description>Contains per line a flag.</description>
159 <file name="context">
160 <description>Contains the context which shall be used for the vserver.</description>
164 <description>The fstab file for the vserver.</description>
167 <dir name="apps" type="fixed">
168 <dir name="init" type="fixed">
170 <description>The initial-mtab which will be used for the vserver.</description>
174 <description>Contains the init-style; possible values are 'sysv', 'plain' and
175 'minit'.</description>
178 <file name="runlevel">
179 <description>The start runlevel.</description>
182 <file name="runlevel.start">
183 <description>The start runlevel.</description>
186 <file name="runlevel.stop">
187 <description>The stop runlevel.</description>
190 <file name="killseq">
191 <description>Contains the 'signal [wait signal]*' sequence which is used to stop the
192 vserver.</description>
195 <file name="cmd.start">
196 <description>The command which is used to start the vserver. Each option must be on a
197 separate line.</description>
200 <file name="cmd.start-sync">
201 <description>The command which is used to wait on the vserver after it has been
202 started. Each option must be on a separate line. This file will be ignored when the
203 'sync' does not exist and the '--sync' option was not used.</description>
206 <file name="cmd.stop">
207 <description>The command which is used to stop the vserver. Each option must be on a
208 separate line.</description>
211 <file name="cmd.stop-sync">
212 <description>The command which is used to wait on the vserver after it has been
213 stopped. Each option must be on a separate line. This file will be ignored when the
214 'sync' does not exist and the '--sync' option was not used.</description>
217 <file name="cmd.prepare">
218 <description>The command which is used to setup the init-system (e.g. to set the runlevel
219 in the utmp-file). Each option must be on a separate line.</description>
223 <description>Without this file, the 'cmd.*-sync' files will be ignored.</description>
228 <dir name="scripts" type="fixed">
229 <script name="prepre-start">
230 <description>&init-script-text; &init-prepre-start;</description>
231 &init-scriptlet-params;
233 <dir name="prepre-start.d" type="fixed">
234 <description>&init-dir-text; &init-prepre-start;</description>
236 <script name="script">
237 <description>&init-dir-script-text; &init-prepre-start;</description>
238 &init-scriptlet-params;
242 <script name="pre-start">
243 <description>&init-script-text; &init-pre-start;</description>
244 &init-scriptlet-params;
247 <dir name="pre-start.d">
248 <description>&init-dir-text; &init-pre-start;</description>
250 <script name="script">
251 <description>&init-dir-script-text; &init-pre-start;</description>
252 &init-scriptlet-params;
257 <script name="post-start">
258 <description>&init-script-text; &init-post-start;</description>
259 &init-scriptlet-params;
262 <dir name="post-start.d">
263 <description>&init-dir-text; &init-post-start;</description>
265 <script name="script">
266 <description>&init-dir-script-text; &init-post-start;</description>
267 &init-scriptlet-params;
271 <script name="pre-stop">
272 <description>&init-script-text; &init-pre-stop;</description>
273 &init-scriptlet-params;
276 <dir name="pre-stop.d" type="fixed">
277 <description>&init-dir-text; &init-pre-stop;</description>
278 <script name="script">
279 <description>&init-dir-script-text; &init-pre-stop;</description>
280 &init-scriptlet-params;
284 <script name="post-stop">
285 <description>&init-script-text; &init-post-stop;</description>
286 &init-scriptlet-params;
289 <dir name="post-stop.d" type="fixed">
290 <description>&init-dir-text; &init-post-stop;</description>
291 <script name="script">
292 <description>&init-dir-script-text; &init-post-stop;</description>
293 &init-scriptlet-params;
297 <script name="postpost-stop">
298 <description>&init-script-text; &init-postpost-stop;</description>
299 &init-scriptlet-params;
302 <dir name="postpost-stop.d" type="fixed">
303 <description>&init-dir-text; &init-postpost-stop;</description>
304 <script name="script">
305 <description>&init-dir-script-text; &init-postpost-stop;</description>
306 &init-scriptlet-params;
313 <dir name="interfaces" type="fixed">
315 <description>The deafult broadcast address.</description>
318 <description>The default network-device.</description>
321 <description>The default network-prefix.</description>
324 <description>The default network-mask.</description>
327 <description>The default scope of the network interfaces.</description>
330 <dir name="iface" type="symbolic">
331 <file name="disabled">
332 <description>When this file exists, this interface will be ignored.</description>
336 <description>The ip which will be assigned to this interface.</description>
339 <description>The broadcast address.</description>
342 <description>The network-device.</description>
345 <description>The network-prefix.</description>
348 <description>The network-mask.</description>
351 <description>The scope of the network interfaces.</description>
354 <description>When this file exists, the interface will be named.</description>
359 <dir name="ulimits" type="fixed">
360 <description>A directory with ulimits.</description>
362 <file name="resource" type="symbolic">
363 <description>A file which contains the hard- and soft-limit of the given resource in the
364 first line. The special keyword 'inf' is recognized.</description>
367 <file name="resource.hard" type="symbolic">
368 <description>A file which contains the hard- of the given resource in the first line. The
369 special keyword 'inf' is recognized.</description>
372 <file name="resource.soft" type="symbolic">
373 <description>A file which contains the soft- of the given resource in the first line. The
374 special keyword 'inf' is recognized.</description>