Skip to content

Instantly share code, notes, and snippets.

@darox
Last active June 6, 2020 14:57
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 darox/b8f40d44bfa1a21fcf2509f00915ccd2 to your computer and use it in GitHub Desktop.
Save darox/b8f40d44bfa1a21fcf2509f00915ccd2 to your computer and use it in GitHub Desktop.
[Unit]
Description=Argo Tunnel
After=network.target
[Service]
TimeoutStartSec=0
Type=notify
ExecStart=/usr/local/bin/cloudflared --config /etc/cloudflared/config.yml --origincert /etc/cloudflared/cert.pem --no-autoupdate
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment