Jitdor Tech Tips

Keeping FRP Up to Date with a One-Line Script


If you run reverse proxies or tunneling setups on your homelab or servers, chances are you’ve come across FRP (Fast Reverse Proxy). It’s an open-source project that makes it easy to expose services behind NAT/firewalls via a client (frpc) and a server (frps).


The project is very active, and new releases roll out often. But keeping your binaries (/usr/local/bin/frps, /usr/local/bin/frpc) updated across multiple servers can be a hassle — especially if you’re running them under systemd instances like [email protected], [email protected], etc.

To solve that, here’s a simple script you can drop into /usr/local/bin/frp-update. It will:

  • Check the latest release on GitHub
  • Compare against your currently installed version (frpc first, then frps)
  • Download and install the new binaries if needed
  • Leave your running services untouched (you can restart them manually when ready)

Pages: 1 2

Comments

Leave a Reply