Last active
May 22, 2023 10:00
-
-
Save shoya0x00/fe593fb1f174411cea18baeccbb9815c to your computer and use it in GitHub Desktop.
cloudflared on alpine
This file contains 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
#!/sbin/openrc-run | |
name="cloudflares" | |
description="cloudflared" | |
token="token" | |
command="/usr/bin/cloudflared" | |
command_args=" --pidfile /var/run/$name.pid --autoupdate-freq 24h0m0s tunnel run --token $token" | |
command_user="root" | |
pidfile="/var/run/$name.pid" | |
stdout_log="/var/log/$name.log" | |
stderr_log="/var/log/$name.err" | |
command_background="yes" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment