Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save djraw/8796b1a5f9931777e5904525d9f93325 to your computer and use it in GitHub Desktop.
Save djraw/8796b1a5f9931777e5904525d9f93325 to your computer and use it in GitHub Desktop.
How to run scripts in the background.
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment