/systemd-ngrok

Automatically start ngrok by systemd

Primary LanguageShellThe UnlicenseUnlicense

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 raspberry pi platform.

curl https://raw.githubusercontent.com/tmcolby/systemd-ngrok/master/install.sh | sudo bash -s <ngrok_auth_token>