1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
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

12 lines
261 B
Text

#!/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
}