A directory for scripts. By default, when one of these scripts will be
executed, the execution of defaultscripts (within .../.defaults/scripts)
will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
environment variable must be set by one of the in-shellcontext scripts
(the non-executable ones).
-
initialize
The scriptlet which will be executed before the root filesystem is mounted and
the configuration has been loaded. Before executing the script, the
configuration directory will be made the working directory.
-
post-start
The scriptlet which will be executed after the vserver has been
started. Before executing the script, the vserver root directory
will be made the working directory.
-
post-stop
The scriptlet which will be executed after the vserver has been
stopped, but before the directories will be umounted and the the
interfaces disabled. Before executing the script, the vserver root
directory will be made the working directory.
-
postpost-stop
The scriptlet which will be executed after the vserver has been stopped
completely. Before executing the script, the vserver root directory
will be made the working directory.
-
pre-start
The scriptlet which will be executed after network-interfaces were
enabled and the directories mounted, but before the vserver itself has
been started. Before executing the script, the vserver root directory
will be made the working directory.
-
pre-stop
The scriptlet which will be executed before the vserver will be
stopped. Before executing the script, the vserver root directory
will be made the working directory.
-
prepre-start
The scriptlet which will be executed before the network-interfaces are
enabled and the directories are mounted. Before executing the script,
the configuration directory will be made the working directory.
-
/etc/vservers/vserver-name/scripts/initialize.d
Repository of initialize like scripts. Before executing the script,
the configuration directory will be made the working directory.
-
/etc/vservers/vserver-name/scripts/post-start.d
Repository of post-start like scripts. Before executing these scripts,
the vserver root directory will be made the working directory.
-
/etc/vservers/vserver-name/scripts/post-stop.d
Repository of post-stop like scripts. Before executing the script, the
vserver root directory will be made the working directory.
-
/etc/vservers/vserver-name/scripts/postpost-stop.d
Repository of postpost-stop like scripts. Before executing the script,
the vserver root directory will be made the working directory.
-
script
See postpost-stop.
-
/etc/vservers/vserver-name/scripts/pre-start.d
Repository of pre-start like scripts. Before executing these scripts,
the vserver root directory will be made the working directory.
-
/etc/vservers/vserver-name/scripts/pre-stop.d
Repository of pre-stop like scripts. Before executing the script, the
vserver root directory will be made the working directory.
-
/etc/vservers/vserver-name/scripts/prepre-start.d
Repository of prepre-start like scripts. Before executing the script,
the configuration directory will be made the working directory.