Skip to content

Instantly share code, notes, and snippets.

@hazcod
Last active October 28, 2023 22:39
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hazcod/a74e0e3c3381a18f8421 to your computer and use it in GitHub Desktop.
Save hazcod/a74e0e3c3381a18f8421 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