mail-filter/amavisd-new: remove unused file
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 1 Mar 2019 17:05:51 +0000 (18:05 +0100)
committerMichael Orlitzky <mjo@gentoo.org>
Sat, 2 Mar 2019 04:18:57 +0000 (23:18 -0500)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
mail-filter/amavisd-new/files/amavisd-snmp.initd [deleted file]

diff --git a/mail-filter/amavisd-new/files/amavisd-snmp.initd b/mail-filter/amavisd-new/files/amavisd-snmp.initd
deleted file mode 100644 (file)
index fc23a1f..0000000
+++ /dev/null
@@ -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
-}