Skip to content

Configuration

Max Kofler edited this page Sep 20, 2022 · 2 revisions

Configuring leaf

Leaf has its configuration file located at $ROOT/etc/leaf/leaf.conf, $ROOT being the root directory leaf currently works with. If you specified the --root option to leaf it will append its contents to the start of this path.

Example

Calling leaf --root /my/root/directory will lead leaf to search its config file at /my/root/directory/etc/leaf/leaf.conf.

The options to configure leaf are the following:

  • root - The root directory leaf should work with

root

Leaf has two ways of directing its package installations, the --root option and this option in its config. The contents of this config option get appended to the contents of the --root flag if specified. This allows leaf to operate in a wide range of environments.

Clone this wiki locally