|
@ -6,7 +6,7 @@ USE_PROCD=1 |
|
|
APPBINARY=/usr/sbin/netdata |
|
|
APPBINARY=/usr/sbin/netdata |
|
|
CONFIGFILE=/etc/netdata/netdata.conf |
|
|
CONFIGFILE=/etc/netdata/netdata.conf |
|
|
|
|
|
|
|
|
start_service() { |
|
|
|
|
|
|
|
|
start_service() { |
|
|
mkdir -m 0755 -p /var/cache/netdata |
|
|
mkdir -m 0755 -p /var/cache/netdata |
|
|
chown nobody /var/cache/netdata |
|
|
chown nobody /var/cache/netdata |
|
|
mkdir -m 0755 -p /var/lib/netdata |
|
|
mkdir -m 0755 -p /var/lib/netdata |
|
@ -18,4 +18,4 @@ CONFIGFILE=/etc/netdata/netdata.conf |
|
|
procd_set_param file $CONFIGFILE |
|
|
procd_set_param file $CONFIGFILE |
|
|
procd_set_param respawn |
|
|
procd_set_param respawn |
|
|
procd_close_instance |
|
|
procd_close_instance |
|
|
} |
|
|
|
|
|
|
|
|
} |