Files
packages/net/netbird/files/netbird.init
Wesley Gimenes 3ccdeef8e7 netbird: update to 0.53.0 with config fix
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.53.0

Update init file to include `NB_CONFIG="/etc/netbird/config.json"`
variable, ensuring configuration compatibility as before (fixes issue
introduced by profiles feature in 0.52.2). Existing configurations remain
compatible.

Note: license for some components (`management`, `relay`, `signal`) changed
to **AGPLv3**. These components aren't packaged for OpenWrt, so there's no
immediate effect, but record the change for future reference.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:09:49 -03:00

16 lines
306 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
start_service() {
procd_open_instance
procd_set_param command /usr/bin/netbird
procd_set_param env NB_CONFIG="/etc/netbird/config.json"
procd_append_param command service run
procd_set_param pidfile /var/run/netbird.pid
procd_close_instance
}