Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Created January 13, 2022 01:26
Show Gist options
  • Save sirkirby/e2a69def686f719e68868e8cec536a9a to your computer and use it in GitHub Desktop.
Save sirkirby/e2a69def686f719e68868e8cec536a9a to your computer and use it in GitHub Desktop.
Cloudflared service config
[Unit]
Description=Cloudflare Tunnel
After=network.target
[Service]
TimeoutStartSec=0
Type=notify
ExecStart=/usr/local/bin/cloudflared --config /home/chris/.cloudflared/config.yml --autoupdate-freq 24h tunnel run
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