cloudflared: reload service if wan inferface has (re)connected
authorTianling Shen <[email protected]>
Sat, 31 Aug 2024 13:53:39 +0000 (21:53 +0800)
committerTianling Shen <[email protected]>
Fri, 6 Sep 2024 14:49:28 +0000 (22:49 +0800)
commitc3fdd943cb2139f2cce3e6716582ee5ca189a1bc
treec77944a0ba2a66b2e9222a9a7acae39db0476af5
parentf778f04a9275c9ba4ee307d337b35b3e5007905b
cloudflared: reload service if wan inferface has (re)connected

Sometimes the wan connection needs time to be established (e.g. cold
boot after power loss) and the service may crash as the internet is
yet available. Add a trigger to reload the service once the wan
interface is up.

Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 52037eb625a864c7e9b2b4e30b975bc5a8092192)
[based upon 23.05 branch]
Signed-off-by: Tianling Shen <[email protected]>
net/cloudflared/Makefile
net/cloudflared/files/cloudflared.init