Files
BastilleBSD_bastille/docs/chapters/subcommands/config.rst

44 lines
1.0 KiB
ReStructuredText
Raw Normal View History

config
2025-03-01 13:04:59 -07:00
======
Getting a property that *is* defined in jail.conf:
.. code-block:: shell
ishmael ~ # bastille config azkaban get ip4.addr
2025-02-23 11:45:01 -07:00
bastille0|192.168.2.23
Getting a property that *is not* defined in jail.conf
.. code-block:: shell
ishmael ~ # bastille config azkaban get notaproperty
not set
Setting a property:
.. code-block:: shell
2025-02-23 11:45:01 -07:00
ishmael ~ # bastille config azkaban set allow.mlock 1
A restart is required for the changes to be applied. See 'bastille restart azkaban'.
The restart message will appear every time a property is set.
2025-02-23 11:45:01 -07:00
2025-04-11 17:26:27 -06:00
Removing a property:
.. code-block:: shell
ishmael ~ # bastille config azkaban remove allow.mlock
A restart is required for the changes to be applied. See 'bastille restart azkaban'.
The restart message will appear every time a property is removed.
2025-02-23 11:45:01 -07:00
.. code-block:: shell
ishmael ~ # bastille config help
Usage: bastille config [option(s)] TARGET set|add PROPERTY [VALUE]
get|remove PROPERTY
2025-02-23 11:45:01 -07:00
2025-05-18 17:16:17 -06:00
Options:
2025-02-23 11:45:01 -07:00
2025-12-06 23:19:19 -07:00
-x | --debug Enable debug mode.