mirror of
https://github.com/BastilleBSD/bastille.git
synced 2026-01-04 03:54:15 +01:00
docs: document LINE_IN_FILE
This commit is contained in:
@@ -22,37 +22,39 @@ template hook commands.
|
|||||||
Template Automation Hooks
|
Template Automation Hooks
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| HOOK | format | example |
|
| HOOK | format | example |
|
||||||
+=============+=====================+=========================================+
|
+===============+=====================+=========================================+
|
||||||
| ARG | ARG=VALUE | MINECRAFT_MEMX="1024M" |
|
| ARG | ARG=VALUE | MINECRAFT_MEMX="1024M" |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| CMD | /bin/sh command | /usr/bin/chsh -s /usr/local/bin/zsh |
|
| CMD | /bin/sh command | /usr/bin/chsh -s /usr/local/bin/zsh |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| CONFIG | set property value | set allow.mlock 1 |
|
| CONFIG | set property value | set allow.mlock 1 |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| CP/OVERLAY | path(s) | etc root usr (one per line) |
|
| CP/OVERLAY | path(s) | etc root usr (one per line) |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| INCLUDE | template path/URL | http?://TEMPLATE_URL or project/path |
|
| INCLUDE | template path/URL | http?://TEMPLATE_URL or project/path |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| LIMITS | resource value | memoryuse 1G |
|
| LIMITS | resource value | memoryuse 1G |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| MOUNT | fstab syntax | /host/path container/path nullfs ro 0 0 |
|
| LINE_IN_FILE | line file_path | word /usr/local/word/word.conf |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| OVERLAY | path(s) | etc root usr (one per line) |
|
| MOUNT | fstab syntax | /host/path container/path nullfs ro 0 0 |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| PKG | port/pkg name(s) | vim-console zsh git-lite tree htop |
|
| OVERLAY | path(s) | etc root usr (one per line) |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| RDR | tcp port port | tcp 2200 22 (hostport jailport) |
|
| PKG | port/pkg name(s) | vim-console zsh git-lite tree htop |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| RENDER | /path/file.txt | /usr/local/etc/gitea/conf/app.ini |
|
| RDR | tcp port port | tcp 2200 22 (hostport jailport) |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| RESTART | | (restart jail) |
|
| RENDER | /path/file.txt | /usr/local/etc/gitea/conf/app.ini |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| SERVICE | service command | 'nginx start' OR 'postfix reload' |
|
| RESTART | | (restart jail) |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
| SYSRC | sysrc command(s) | nginx_enable=YES |
|
| SERVICE | service command | 'nginx start' OR 'postfix reload' |
|
||||||
+-------------+---------------------+-----------------------------------------+
|
+---------------+---------------------+-----------------------------------------+
|
||||||
|
| SYSRC | sysrc command(s) | nginx_enable=YES |
|
||||||
|
+---------------+---------------------+-----------------------------------------+
|
||||||
|
|
||||||
Template Hook Descriptions
|
Template Hook Descriptions
|
||||||
--------------------------
|
--------------------------
|
||||||
@@ -78,6 +80,8 @@ INCLUDE - specify a template to include. Make sure the template is bootstrap
|
|||||||
|
|
||||||
LIMITS - set the specified resource value for the jail
|
LIMITS - set the specified resource value for the jail
|
||||||
|
|
||||||
|
LIMITS - add specified word to specified file if not present
|
||||||
|
|
||||||
MOUNT - mount specified files/directories inside the jail
|
MOUNT - mount specified files/directories inside the jail
|
||||||
|
|
||||||
PKG - install specified packages inside jail
|
PKG - install specified packages inside jail
|
||||||
|
|||||||
Reference in New Issue
Block a user