3 ms·
> There are options on pretty much any system, but certainly on Linux with capabilities. If you're using systemd, you can grant the appropriate capability to t
by duskwuff 3y ago
> There are options on pretty much any system, but certainly on Linux with capabilities.
If you're using systemd, you can grant the appropriate capability to the process by setting:
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
in its service file. Note that this will necessarily allow the process to listen to any port; there is, unfortunately, currently no way to lock it down to a single port.
- deleted 3y ago[deleted]