Skip to content

Commit 004e9cb

Browse files
authored
Make ngrok run in background without UI
* `-log=stdout` will hide the text-based UI, but `-log=/some/file.log` will not. * Seems like a bug, but ngrok 1.x does not accept new commits.
1 parent b3cf420 commit 004e9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/start_ngrok.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
# Why do we have a public IPv4 address but can not be reached outside of campus network?
33
BASE_DIR=/jffs
4-
nohup $BASE_DIR/bin/ngrok -log-level=info -log=/tmp/ngrok.log -config=$BASE_DIR/etc/ngrok.yml start-all &
4+
nohup $BASE_DIR/bin/ngrok -log-level=info -log=stdout -config=$BASE_DIR/etc/ngrok.yml start-all &
55

0 commit comments

Comments
 (0)