Browse Source

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 <james@jmwhite.co.uk>
lilik-openwrt-22.03
James White 3 years ago
committed by Josef Schlehofer
parent
commit
cf9d5a8870
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      admin/netdata/Makefile
  2. +1
    -1
      admin/netdata/files/netdata.init

+ 1
- 1
admin/netdata/Makefile View 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


+ 1
- 1
admin/netdata/files/netdata.init View 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


Loading…
Cancel
Save