Update README.md
This commit is contained in:
parent
88b67cad1f
commit
32b4720630
26
README.md
26
README.md
|
@ -42,19 +42,23 @@ Creating a jail is interactive. You'll be presented with questions which guide y
|
||||||
|
|
||||||
After answering a few questions you should have your first jail up and running!
|
After answering a few questions you should have your first jail up and running!
|
||||||
|
|
||||||
## Start Jail
|
|
||||||
|
|
||||||
```shell
|
|
||||||
./jlmkr.py start myjail
|
|
||||||
```
|
|
||||||
|
|
||||||
### Autostart Jail on Boot
|
### Autostart Jail on Boot
|
||||||
|
|
||||||
In order to start a jail automatically after TrueNAS boots, run `/mnt/mypool/jailmaker/jlmkr.py start myjail` as Post Init Script with Type `Command` from the TrueNAS web interface.
|
In order to start a jail automatically after TrueNAS boots, run `/mnt/mypool/jailmaker/jlmkr.py start myjail` as Post Init Script with Type `Command` from the TrueNAS web interface.
|
||||||
|
|
||||||
## Additional Commands
|
## Additional Commands
|
||||||
|
|
||||||
For additional commands we can use `machinectl`, `systemctl` and `journalctl` directly. The `jlmkr.py` script does not play a role here.
|
### Start Jail
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./jlmkr.py start myjail
|
||||||
|
```
|
||||||
|
|
||||||
|
### List Jails
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./jlmkr.py list
|
||||||
|
```
|
||||||
|
|
||||||
### Stop Jail
|
### Stop Jail
|
||||||
|
|
||||||
|
@ -62,6 +66,14 @@ For additional commands we can use `machinectl`, `systemctl` and `journalctl` di
|
||||||
machinectl stop myjail
|
machinectl stop myjail
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Delete Jail
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./jlmkr.py delete myjail
|
||||||
|
```
|
||||||
|
|
||||||
|
For additional commands we can use `machinectl`, `systemctl` and `journalctl` directly. The `jlmkr.py` script does not play a role here.
|
||||||
|
|
||||||
### Jail Shell
|
### Jail Shell
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
Loading…
Reference in New Issue