mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-filter/amavisd-new: remove unused file
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
committed by
Michael Orlitzky
parent
698d775612
commit
d97050eda5
@@ -1,31 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
name="amavisd-snmp"
|
||||
pidfile="/run/amavis/${name}.pid"
|
||||
command="/usr/sbin/${name}-subagent"
|
||||
command_args="${amavis_snmp_args} -P ${pidfile}"
|
||||
start_stop_daemon_args="--interpreted"
|
||||
|
||||
update_command() {
|
||||
if [[ -x ${command}-zmq && ! $amavisd_snmp_command ]]; then
|
||||
command="${command}-zmq"
|
||||
elif [[ $amavisd_snmp_command ]]; then
|
||||
command="$amavisd_snmp_command"
|
||||
fi
|
||||
}
|
||||
|
||||
depend() {
|
||||
use logger
|
||||
before amavisd-new snmpd
|
||||
update_command
|
||||
if [[ ${command##*-} == "zmq" ]]; then
|
||||
need amavis-mc
|
||||
fi
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
update_command
|
||||
checkpath -d -o amavis /run/amavis
|
||||
}
|
||||
Reference in New Issue
Block a user