- Add
ngrok.service
to/etc/systemd/system
directory
-
At section
ExecStart
replace/path/of/executable/ngrok
with full path of ngrok executable downloaded from ngrok website -
Replace
USER
with your user account
- Add
ngrok.yml
to/home/USER/.ngrok2
directory
- Replace TOEKN with your token from ngrok.com dashboard
- Start service:
systemctl start ngrok
- Enable service at boot time:
systemctl enable ngrok
- See your address at status section of your dashboard
Very useful! You solved one of my problems :)
please add user type in ngrok.service file ;)