Last active
February 24, 2017 05:06
-
-
Save gitschaub/5f6dfe5f7695f9d396245fd93a4f8a67 to your computer and use it in GitHub Desktop.
This file contains 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 characters
[Unit] | |
Description=Share local port(s) with ngrok | |
After=syslog.target network.target | |
[Service] | |
PrivateTmp=true | |
Type=simple | |
User=pi | |
Restart=always | |
RestartSec=1min | |
StandardOutput=null | |
StandardError=null | |
ExecStart=/usr/local/bin/ngrok tcp 22 | |
ExecStop=/usr/bin/killall ngrok | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment