Last active
October 2, 2019 10:43
-
-
Save biharitomi/f7911ee906b69260a6ceaa3196a1c86c to your computer and use it in GitHub Desktop.
Revisions
-
biharitomi revised this gist
Oct 2, 2019 . No changes.There are no files selected for viewing
-
biharitomi created this gist
Oct 2, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ authtoken: 1.... json_resolver_url: "" dns_resolver_ips: [] console_ui: false log_format: logfmt log: /opt/ngrok/ngrok.log region: eu tunnels: ssh: proto: tcp addr: 22 inspect: false This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ [Unit] Description=Ngrok daemon for external availability After=network.target sshd.service [Service] ExecStart=/opt/ngrok/ngrok start --all --config /opt/ngrok/ngrok.yml ExecReload=/bin/kill -HUP $MAINPID KillMode=process IgnoreSIGPIPE=true Restart=always RestartSec=5 Type=simple [Install] WantedBy=multi-user.target Alias=ngrokd.service