Automatically start ngrok by systemd
Go to file
Vincent Hsu ed3725bfa4
Merge pull request #3 from HEBOS/patch-1
Added execution privileges for ngrok
2019-09-02 23:51:26 +08:00
install.sh Added execution privileges for ngrok 2019-08-08 23:46:27 +02:00
LICENSE Initial commit 2017-04-10 12:37:02 +08:00
ngrok.service Always restart services 2019-02-15 21:13:19 +08:00
ngrok.yml Add configuration files 2017-04-10 12:58:50 +08:00
README.md Add install/uninstall scripts 2019-02-15 16:52:16 +08:00
uninstall.sh Add install/uninstall scripts 2019-02-15 16:52:16 +08:00

Installation

Step 1: Place ngrok in /opt/ngrok/.

Step 2: Get authtoken from ngrok website, then add it to /opt/ngrok/ngrok.yml.

Step 3. Modify your own configrations in /opt/ngrok/ngrok.yml.

Step 4: Add ngrok.service to /lib/systemd/system/.

Step 5: Start ngrok service by typing:

    systemctl enable ngrok.service
    systemctl start ngrok.service

or just execute install.sh on Linux x64 platform.

    chmod +x install.sh
    ./install.sh <your_authtoken>