GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DIRECTOR-SPEC(5) FreeBSD File Formats Manual DIRECTOR-SPEC(5)

director-specDirector specification for configuration files

Directory where the logs will be stored.

type: String
default:

Directory where the projects and its metadata will be stored.

type: String
default:

Location of lock files.

type: String
default:

Only valid for ZFS. Recursively removes the jail and its references.

type: Boolean
default: false

Only valid for ZFS. Forcibly removes the jail dataset.

type: Boolean
default: true

Timeout to avoid hangings caused by some operations such as the execution of an appjail-makejail(5) or some custom commands in your director-spec(5) file.

type: Integer
default:

Options that will be used by all services.

type: Array of dictionaries. Each dictionary (key and value) is a string. The value can be left empty.

This dictionary contains the services to be created and started. Each key is the name of the service that must be valid with the following regular expression: “”. The name of the service is not the same as the name of the jail.

type: Dictionary.

service
Once the director-spec(5) file has been processed, the services will be sorted using this number. Lower integers have higher priority, so those services will be processed first.

type: Integer
default:

service
Jail name. If not specified, a random hexadecimal string will be used.

type: String

service
appjail-makejail(5) to be executed.

type: String
default:

service
Like makejail, but uses appjail-apply(5) to apply an appjail-makejail(5) to an existing jail, which in this case occurs after director(1) starts the jail (if the appjail-makejail(5) specified in makejail doesn't do so). This appjail-makejail(5) is applied every time the command is run, so some logic should be added depending on the task performed to avoid unwanted behavior. Useful for updating an existing file and/or hot reloading. See in scripts, which has a similar purpose but does not use Makejails.

If this appjail-makejail(5) fails, director(1) will not set the service as failed because, if it did, the service would be recreated on the next execution, which is not desirable in this context.

Please note that you must explicitly specify the apply stage in the appjail-makejail(5) specified by this parameter in order to execute the code.

type: String

service
The global options will be added to the local options. These options only take into account the local options per service.

type: Boolean

service
Do not recreate the service when the appjail-makejail(5) modification time changes.

type: Boolean

service.options
It has the same effect as the global options, but only for the services in which it appears.
service
Arguments to pass to the appjail-makejail(5) to be executed.

type: Array of dictionaries. Each dictionary (key and value) is a string.

service
Arguments to pass to the appjail-makejail(5) specified in runtime-makejail.

type: Array of dictionaries. Each dictionary (key and value) is a string.

service
Environment variables valid only in the apply stage.

type: Array of dictionaries. Each dictionary (key and value) is a string. The value can be left empty.

service
Environment variables valid only in the stage.

type: Array of dictionaries. Each dictionary (key and value) is a string. The value can be left empty.

service
Environment variables valid only in the start stage.

type: Array of dictionaries. Each dictionary (key and value) is a string. The value can be left empty.

service
Settings used by OCI-related commands.

type: Dictionary

service
Execute the process specified by the OCI image as another user.

type: String

service
Execute the process specified by the OCI image in this working directory.

type: String

service
Environment variables used by the process specified by the OCI image.

type: Array of dictionaries. Each dictionary (key and value) is a string. The value can be left empty.

service
The key of each dictionary is used to obtain the volume options specified by the global volumes.

type: Array of dictionaries. Each dictionary (key and value) is a string.

service
Scripts that will be executed once the jail is created and started.

type: Array of dictionaries.

service
Shell used to execute the script.

type: String
default:

service
In which environment the script will be executed: jexec (inside the jail), (in the host), or (inside the chroot environment).

See also appjail-cmd(1) for details.

type: String
default: jexec

service
Script to be executed.

type: String

service
By default, director(1) executes the script before checking the status of the jail, which means that the jail may or may not be started. When this parameter is set to true, the script runs after this check, and this occurs every time the project runs, so you must add logic to your script to prevent unwanted changes. This is especially useful when you need to update a configuration file and/or perform a hot reload.

type: Boolean
default: false

service
Arguments to be passed to the start stage.

type: Array of dictionaries. Each dictionary (key and value) is a string.

service
director(1) detects changes to rerun the appjail-makejail(5), this item forces the execution of the appjail-makejail(5).

type: String

Default volume type when is not defined in volumes.volume.
Describe the volume options used by the services.

type: Dictionary

volume
Device to be mounted.

type: String

volume
Type of the file system. When using nullfs, <pseudofs> or <volumefs>, is treated as a directory (when it doesn't exist) and after getting the absolute path it will be used as the actual device.

type: String
default: <pseudofs>

volume.options
Mount point options associated with the file system.

type: String
default:

volume
Whether dump(8) command should be used for those file systems that need to be dumped.

type: Integer
default: 0

volume
Used by fsck(8) and quotacheck(8) commands to determine the order in which file system and quota checks are done at reboot time.

type: Integer
default: 0

volume
Valid only for nullfs, <pseudofs> and <volumefs> file systems. When defined, the umask is set before the creation of the directory (aka device) and is restored after the directory is created.

type: Integer

volume
Valid only for nullfs, <pseudofs> and <volumefs> file systems. Change the access permissions of the directory (aka device) after its creation.

type: Integer

volume
Valid only for nullfs, <pseudofs> and <volumefs> file systems. When defined, the directory owner is set after the creation of the directory (aka device). Note that if you use a string instead of an integer, it will be resolved from your local user database.
volume
It has the same effect as , but for the device group.

Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>

March 5, 2026 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.