diff --git a/README.md b/README.md index 58c0d03..29e6c1b 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Unfortunately since version 22.12.3 TrueNAS SCALE no longer includes systemd-nsp We need to do this again after each update of TrueNAS SCALE. So it is recommended to schedule this command as Post Init Script (see [Autostart Jail on Boot](#autostart-jail-on-boot)). -Additionally the install command will create a symlink from `/usr/bin/jlmkr` to `jlmkr.py`. Thanks this this you can now run the `jlmkr` command from anywhere (instead of having to run `./jlmkr.py` from inside the directory where you've placed it). +Additionally the install command will create a symlink from `/usr/local/sbin/jlmkr` to `jlmkr.py`. Thanks this this you can now run the `jlmkr` command from anywhere (instead of having to run `./jlmkr.py` from inside the directory where you've placed it). ## Create Jail diff --git a/jlmkr.py b/jlmkr.py index 1e44a72..e6cf698 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -831,7 +831,7 @@ def install_jailmaker(): for file, original_permission in original_permissions.items(): stat_chmod(file, original_permission) - target = '/usr/bin/jlmkr' + target = '/usr/local/sbin/jlmkr' # Check if command exists in path if shutil.which('jlmkr'):