Created
January 12, 2023 19:51
-
-
Save sirkirby/c706b86a32ebfaffb0f1c45f4ecc1f43 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=Cloudflare Tunnel | |
After=network.target | |
[Service] | |
TimeoutStartSec=0 | |
Type=notify | |
ExecStart=/usr/local/bin/cloudflared --config /etc/cloudflared/config.yml --autoupdate-freq 24h --origincert /etc/cloudflared/cert.pem | |
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