Skip to content

Instantly share code, notes, and snippets.

@alenteria
Created July 26, 2019 18:34
Show Gist options
  • Select an option

  • Save alenteria/ac08329e8cc64e8381880581169368dd to your computer and use it in GitHub Desktop.

Select an option

Save alenteria/ac08329e8cc64e8381880581169368dd to your computer and use it in GitHub Desktop.
[Unit]
Description=Ngrok
After=network.service
[Service]
type=simple
User=pi
WorkingDirectory=/home/pi
ExecStart=/usr/bin/ngrok start --all --config=/home/pi/.ngrok/ngrok.yml
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment