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>
(cherry picked from commit cf9d5a8870
)
This commit is contained in:
parent
6317eabad7
commit
7bb0a7e929
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=netdata
|
PKG_NAME:=netdata
|
||||||
PKG_VERSION:=1.30.1
|
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_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Daniel Engberg <daniel.engberg.lists@pyret.net>
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
|
|
|
@ -14,7 +14,7 @@ start_service() {
|
||||||
mkdir -m 0755 -p /var/log/netdata
|
mkdir -m 0755 -p /var/log/netdata
|
||||||
chown nobody /var/log/netdata
|
chown nobody /var/log/netdata
|
||||||
procd_open_instance
|
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 file $CONFIGFILE
|
||||||
procd_set_param respawn
|
procd_set_param respawn
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
|
|
Loading…
Reference in a new issue