- Install the ZSH shell from SynoCommunity packages
- Connect to your Synology over SSH
- Switch over to your new ZSH shell
zsh
- Set following parameter to allow detaching of our shell
setopt NO_HUP
- Run your command using nohup and ampersand
nohup <command> &
- Detach using CTRL+D or likewise
Last active
October 28, 2023 22:39
-
-
Save hazcod/a74e0e3c3381a18f8421 to your computer and use it in GitHub Desktop.
How to run scripts in the background.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment