Skip to content

Instantly share code, notes, and snippets.

@veerendra2
Created October 21, 2022 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veerendra2/16324ff03cd66a0d9bf962d4eba14b33 to your computer and use it in GitHub Desktop.
Save veerendra2/16324ff03cd66a0d9bf962d4eba14b33 to your computer and use it in GitHub Desktop.
ngrok service
[Unit]
Description=ngrok
After=network.target
[Service]
ExecStart=/opt/ngrok/ngrok start --all --config /opt/ngrok/ngrok.yml
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
IgnoreSIGPIPE=true
Restart=always
RestartSec=3
Type=simple
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment