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
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-establishedok, so i act as if its my first time downloading it then i run that command?
Yeah the
dpkg
command just installs the new version. It doesn't take effect till a service restartOk, thanks : D