d6jg wrote: 
> For those wondering how to run ngrok as a background task
> 
> ./ngrok http -log=stdout -region=eu -auth user:password 9000 > ngrok.log
> &
> 
> This disables the console and outputs to a log file
> 
> ./ngrok http -log=stdout -region=eu -auth user:password 9000 > /dev/null
> &
> 
> This disables the console and outputs to /dev/null
> 
> You then need to go to the ngrok dashboard to find your hostname or
> http://127.0.0.1:4040 (but I can't do the latter as I have no GUI on the
> LMS machine)

To run as a totally silent background task, you can use

./ngrok http -inspect=false -auth "aaa:bbb" 9000 > /dev/null 2>&1 &

and to see what the subdomain is that was assigned to your tunnel, use 

curl http://localhost:4040/api/tunnels

which will show some json in the terminal with your public_url in it -
no need for a GUI

I'm updating the docs to include this


------------------------------------------------------------------------
philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to