- Add
ngrok.serviceto/etc/systemd/systemdirectory
-
At section
ExecStartreplace/path/of/executable/ngrokwith full path of ngrok executable downloaded from ngrok website -
Replace
USERwith your user account
- Add
ngrok.ymlto/home/USER/.ngrok2directory
- 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 ;)