diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-09-29 10:44:09 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-02-09 19:19:21 +0000 |
commit | 55693300e5062cde3ad5bb48b0033e559466f802 (patch) | |
tree | 89e77b4b7b69c06dc58b24b370afafcd01e559aa /testing/netdata/netdata.initd | |
parent | f46c003c5069e6751361d4041b9560604ecbad13 (diff) | |
download | aports-55693300e5062cde3ad5bb48b0033e559466f802.tar.bz2 aports-55693300e5062cde3ad5bb48b0033e559466f802.tar.xz |
testing/netdata: improve shutdown
Make sure it actually restarts (entually) even if a plugin does not stop.
Diffstat (limited to 'testing/netdata/netdata.initd')
-rw-r--r-- | testing/netdata/netdata.initd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/netdata/netdata.initd b/testing/netdata/netdata.initd index 79a3a9c55d..61cad7d002 100644 --- a/testing/netdata/netdata.initd +++ b/testing/netdata/netdata.initd @@ -1,7 +1,12 @@ #!/sbin/openrc-run command=/usr/sbin/netdata -command_args="" 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 +} |