Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save goliatone/6097983bb7f9375829bbc0072a581bfb to your computer and use it in GitHub Desktop.

Select an option

Save goliatone/6097983bb7f9375829bbc0072a581bfb to your computer and use it in GitHub Desktop.
Daemonize ngrok
#!/bin/sh
#/usr/local/bin/ngrok -log=/path/to/ngrok.log -config=/path/to/ngrok.yml start ssh
/usr/local/bin/ngrok http 80 --log=stdout > ngrok.log &
@goliatone
Copy link
Copy Markdown
Author

Can be run on background as nohup ./thescript.sh 0<&- &>/dev/null &

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment