mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-16 07:15:49 +01:00
25 lines
798 B
ReStructuredText
25 lines
798 B
ReStructuredText
service
|
|
=======
|
|
|
|
The ``service`` sub-command allows for managing services within jails. This
|
|
allows you to start, stop, restart, and otherwise interact with services running
|
|
inside the jail(s).
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille service web01 'nginx start'
|
|
ishmael ~ # bastille service db01 'mysql-server restart'
|
|
ishmael ~ # bastille service proxy 'nginx configtest'
|
|
ishmael ~ # bastille service proxy 'nginx enable'
|
|
ishmael ~ # bastille service proxy 'nginx disable'
|
|
ishmael ~ # bastille service proxy 'nginx delete'
|
|
|
|
.. code-block:: shell
|
|
|
|
ishmael ~ # bastille service help
|
|
Usage: bastille service [option(s)] TARGET SERVICE_NAME ARGS
|
|
|
|
Options:
|
|
|
|
-a | --auto Auto mode. Start/stop jail(s) if required.
|
|
-x | --debug Enable debug mode. |