mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-11 17:39:52 +01:00
Since FreeBSD 12.0 service(8) supports enable/disable/delete keywords. This also works with the 'bastille service' command.
17 lines
555 B
ReStructuredText
17 lines
555 B
ReStructuredText
=======
|
|
service
|
|
=======
|
|
|
|
The `service` sub-command allows for managing services within containers. This
|
|
allows you to start, stop, restart, and otherwise interact with services
|
|
running inside the containers.
|
|
|
|
.. 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'
|