Forked from davidmerrick/gist:e84b22e02c8ff6b43757
Last active
June 15, 2017 18:35
-
-
Save goliatone/6097983bb7f9375829bbc0072a581bfb to your computer and use it in GitHub Desktop.
Daemonize ngrok
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 & |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can be run on background as
nohup ./thescript.sh 0<&- &>/dev/null &