2025-01-19 12:25:02 +00:00
|
|
|
=======
|
|
|
|
|
config
|
|
|
|
|
=======
|
|
|
|
|
|
2025-02-23 11:45:01 -07:00
|
|
|
Get or set properties for targeted jail(s).
|
2025-01-19 12:25:02 +00: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
|
2025-01-19 12:25:02 +00:00
|
|
|
|
|
|
|
|
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
|
2025-01-19 12:25:02 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
.. code-block:: shell
|
|
|
|
|
|
|
|
|
|
ishmael ~ # bastille config help
|
|
|
|
|
Usage: bastille config TARGET [get|set] PROPERTY_NAME NEW_VALUE
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
|
|
-x | --debug Enable debug mode.
|
|
|
|
|
|