mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/netdata: improve shutdown
Make sure it actually restarts (entually) even if a plugin does not stop.
This commit is contained in:
parent
f46c003c50
commit
55693300e5
@ -2,7 +2,7 @@
|
||||
# Maintainer:
|
||||
pkgname=netdata
|
||||
pkgver=1.9.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Real-time performance monitoring"
|
||||
url="https://github.com/firehol/netdata"
|
||||
license="GPL-3.0-or-later"
|
||||
@ -63,4 +63,4 @@ python() {
|
||||
}
|
||||
|
||||
sha512sums="3766c8b86229545dee8fed3a43a5dd73ba36db9114b2418a6ceaaba15488edf792308be922dafed34026fd52166257fc27823ce0f6664696f79b33b93345f2b5 netdata-1.9.0.tar.xz
|
||||
2aaaee7010c24b3f52be8b01295f73ac6c38ac4d1b627e8b9227d03fe3b248b7157b1d5217edebd88ba461adc1ce89503520acd877b300e4503e75125f40da96 netdata.initd"
|
||||
0cc96162524bec0562e7ba0449d7d39ca6edd1928e2c1ac9f579a1fe5ea442f8ce670d04e84d2cac7c09843a9df7ed8151a6a3d2377713ffba4c86b43b8d9096 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user