how to update cloudflared

I have a raspberry pi 4 with raspberry pi os 64 bit, i use curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-armhf.deb && sudo dpkg -i cloudflared.deb to download it, but i dont know how to update it, am i supposed to delete it and install it? Cause thats going to cause a bit of downtime, its fine but im just looking for hopefully no downtime and a efficient solution.
4 Replies
Cyb3r-Jak3
Cyb3r-Jak37mo ago
You'll need to restart it using sudo systemctl restart cloudflared.service there will be a bit of downtime with it as the connection has to be re-established
Alf
AlfOP7mo ago
ok, so i act as if its my first time downloading it then i run that command?
Cyb3r-Jak3
Cyb3r-Jak37mo ago
Yeah the dpkg command just installs the new version. It doesn't take effect till a service restart
Alf
AlfOP7mo ago
Ok, thanks : D
Want results from more Discord servers?
Add your server