OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: 9axqe on October 07, 2024, 12:51:57 PM

Title: rc.conf not starting cloudflared at bootup anymore
Post by: 9axqe on October 07, 2024, 12:51:57 PM
This used to work and stopped somewhen in the last month or two, not entirely sure when.

I have configured cloudflared service to start at boot up in rc.conf:

cloudflared_enable="YES"
cloudflared_mode="tunnel --no-autoupdate run --post-quantum --token <my_token>"


But it does not seem to work. If I manually start it, it works fine:

/usr/sbin/daemon -o /var/log/cloudflared.log -p /var/run/cloudflared.pid -f /usr/local/bin/cloudflared tunnel --no-autoupdate run --post-quantum --token <my_token>

Has something changed in 24.7 in regard to rc.conf?
Title: Re: rc.conf not starting cloudflared at bootup anymore
Post by: fearz on October 13, 2024, 09:18:46 AM
Same issue...I have to start it manually..

Did you find any solutions?
Title: Re: rc.conf not starting cloudflared at bootup anymore
Post by: fearz on October 13, 2024, 11:30:20 AM
Did you check /var/log/cloudflared.log ?
Title: Re: rc.conf not starting cloudflared at bootup anymore
Post by: 9axqe on October 13, 2024, 01:07:21 PM
I did, there's not a single line when the router boots up. As if the /etc/rc.conf file wasn't even read on startup anymore...