aports/testing/netdata/netdata.initd
Henrik Riomar 55693300e5 testing/netdata: improve shutdown
Make sure it actually restarts (entually) even if a plugin does not stop.
2018-02-09 19:19:21 +00:00

13 lines
261 B
Plaintext

#!/sbin/openrc-run
command=/usr/sbin/netdata
pidfile=/run/netdata.pid
command_args="-P ${pidfile}"
name="netdata"
description="Real-time performance monitoring"
depend() {
need net
after apache2 squid nginx mysql named opensips hostapd postfix lm_sensors
}