netdata: Update init script to use -D rather than -nd
authorJames White <redacted>
Fri, 31 Dec 2021 16:45:25 +0000 (16:45 +0000)
committerJosef Schlehofer <redacted>
Thu, 13 Jan 2022 09:39:08 +0000 (10:39 +0100)
The current init script is using the deprecated -nd flag. This updates netdata to be started with -D.

Signed-off-by: James White <redacted>
admin/netdata/Makefile
admin/netdata/files/netdata.init

index d9361529d74c170fc8339544a9bbdfb5193ee36a..6ce0c4b88c021b49bfc383563c52dc1823e5cab0 100644 (file)
@@ -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 <pepe.schlehofer@gmail.com>, Daniel Engberg <daniel.engberg.lists@pyret.net>
 PKG_LICENSE:=GPL-3.0-or-later
index 0c0d4d42c1b8430ab75dfcca3973fe27fc59f0a3..7d80627a006ca7c55bb29b65ebcd2ceae70bfe41 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT