Automatically start ngrok by systemd
Go to file
2017-04-10 12:58:50 +08:00
LICENSE Initial commit 2017-04-10 12:37:02 +08:00
ngrok.service Add configuration files 2017-04-10 12:58:50 +08:00
ngrok.yml Add configuration files 2017-04-10 12:58:50 +08:00
README.md Add configuration files 2017-04-10 12:58:50 +08:00

Installation

Step 1: Place ngork in /opt/ngrok/

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

Step 3: Add ngork.service to /etc/systemd/system/

Step 4: Start ngork service by typing:

    systemctl daemon-reload
    systemctl enable ngrok.service
    systemctl start ngrok.service