Created
May 13, 2016 19:42
-
-
Save ellisio/c717a5f0623204e6f509092845bb4023 to your computer and use it in GitHub Desktop.
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 characters
[Unit] | |
Description=Share local port(s) with ngrok | |
After=syslog.target network.target | |
[Service] | |
User=vagrant | |
Type=simple | |
Restart=always | |
RestartSec=1min | |
TimeoutSec=0 | |
WorkingDirectory=/var/www | |
ExecStart=/usr/local/bin/ngrok start -log=stdout -config=/var/www/ngrok.yml --all | |
ExecStop=/usr/bin/kill ngrok | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment