mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
net-analyzer/munin: remove unused file
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12469 Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
committed by
Aaron Bauman
parent
1e75f71c46
commit
a286106599
@@ -1,36 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
get_munin_config() {
|
||||
awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE"
|
||||
}
|
||||
|
||||
: ${CFGFILE:=/etc/munin/munin-node.conf}
|
||||
|
||||
command=/usr/sbin/munin-node
|
||||
command_args="--config ${CFGFILE}"
|
||||
pidfile=$(get_munin_config pid_file)
|
||||
start_stop_daemon_args="--nicelevel ${NICE_LEVEL:-0} --wait 1500"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
config "$CFGFILE"
|
||||
|
||||
before cron
|
||||
|
||||
[ "$(get_munin_config log_file)" = "Sys::Syslog" ] && \
|
||||
use logger
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -d $(dirname ${pidfile})
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${SERVICE}"
|
||||
kill -HUP `cat ${pidfile}`
|
||||
eend $?
|
||||
}
|
||||
|
||||
# vim: filetype=gentoo-init-d:
|
||||
Reference in New Issue
Block a user