Update README.md

This commit is contained in:
Jip-Hop 2023-03-02 21:52:16 +01:00
parent 88b67cad1f
commit 32b4720630
1 changed files with 19 additions and 7 deletions

View File

@ -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!
## Start Jail
```shell
./jlmkr.py start myjail
```
### 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.
## 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
@ -62,6 +66,14 @@ For additional commands we can use `machinectl`, `systemctl` and `journalctl` di
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
```shell