- 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