From: James White Date: Fri, 31 Dec 2021 16:45:25 +0000 (+0000) Subject: netdata: Update init script to use -D rather than -nd X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cf9d5a887031f245fbae6f8bcd3366078996f123;p=openwrt-packages.git netdata: Update init script to use -D rather than -nd The current init script is using the deprecated -nd flag. This updates netdata to be started with -D. Signed-off-by: James White --- diff --git a/admin/netdata/Makefile b/admin/netdata/Makefile index d9361529d..6ce0c4b88 100644 --- a/admin/netdata/Makefile +++ b/admin/netdata/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netdata PKG_VERSION:=1.30.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Josef Schlehofer , Daniel Engberg PKG_LICENSE:=GPL-3.0-or-later diff --git a/admin/netdata/files/netdata.init b/admin/netdata/files/netdata.init index 0c0d4d42c..7d80627a0 100644 --- a/admin/netdata/files/netdata.init +++ b/admin/netdata/files/netdata.init @@ -14,7 +14,7 @@ start_service() { mkdir -m 0755 -p /var/log/netdata chown nobody /var/log/netdata procd_open_instance - procd_set_param command $APPBINARY -nd -c $CONFIGFILE + procd_set_param command $APPBINARY -D -c $CONFIGFILE procd_set_param file $CONFIGFILE procd_set_param respawn procd_close_instance