docs: Update service for new functions

This commit is contained in:
tschettervictor
2025-02-23 11:56:42 -07:00
committed by GitHub
parent 8cd0c60df9
commit 2774cb3c48

View File

@@ -2,9 +2,9 @@
service service
======= =======
The `service` sub-command allows for managing services within containers. This The `service` sub-command allows for managing services within jails. This
allows you to start, stop, restart, and otherwise interact with services allows you to start, stop, restart, and otherwise interact with services
running inside the containers. running inside the jail(s).
.. code-block:: shell .. code-block:: shell
@@ -14,3 +14,12 @@ running inside the containers.
ishmael ~ # bastille service proxy 'nginx enable' ishmael ~ # bastille service proxy 'nginx enable'
ishmael ~ # bastille service proxy 'nginx disable' ishmael ~ # bastille service proxy 'nginx disable'
ishmael ~ # bastille service proxy 'nginx delete' ishmael ~ # bastille service proxy 'nginx delete'
.. code-block:: shell
ishmael ~ # bastille service help
Usage: bastille service [options(s)] TARGET SERVICE_NAME ACTION
Options:
-a | --auto Auto mode. Start/stop jail(s) if required.
-x | --debug Enable debug mode.