Skip to content

Commit

Permalink
Merge pull request #39 from cedwards/master
Browse files Browse the repository at this point in the history
update README for verify and service
  • Loading branch information
cedwards authored Jun 23, 2019
2 parents 2ab81d4 + 07e9056 commit 9038054
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ Available Commands:
list List jails (running and stopped).
pkg Manipulate binary packages within targeted jail(s). See pkg(8).
restart Restart a running jail.
service Manage services within targeted jail(s).
start Start a stopped jail.
stop Stop a running jail.
sysrc Safely edit rc files within targeted jail(s).
template Apply Bastille template to running jail(s).
top Display and update information about the top(1) cpu processes.
update Update jail base -pX release.
upgrade Upgrade jail release to X.Y-RELEASE.
verify Compare release against a "known good" index.
zfs Manage (get|set) zfs attributes on targeted jail(s).

Use "bastille -v|--version" for version information.
Expand Down Expand Up @@ -301,6 +303,19 @@ folsom: created
```


bastille service
----------------
To restart services inside a jail you can use the `bastille service` command.

```shell
ishmael ~ # bastille service folsom 'postfix restart'
[folsom]
postfix/postfix-script: stopping the Postfix mail system
postfix/postfix-script: starting the Postfix mail system

```


bastille cmd
------------
To execute commands within the jail you can use `bastille cmd`.
Expand Down

0 comments on commit 9038054

Please sign in to comment.