1 |
commit: d97050eda5e5028c446bfcb6afa11486b7cdc030 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Mar 1 17:05:51 2019 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 04:18:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97050ed |
7 |
|
8 |
mail-filter/amavisd-new: remove unused file |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
12 |
|
13 |
mail-filter/amavisd-new/files/amavisd-snmp.initd | 31 ------------------------ |
14 |
1 file changed, 31 deletions(-) |
15 |
|
16 |
diff --git a/mail-filter/amavisd-new/files/amavisd-snmp.initd b/mail-filter/amavisd-new/files/amavisd-snmp.initd |
17 |
deleted file mode 100644 |
18 |
index fc23a1fc101..00000000000 |
19 |
--- a/mail-filter/amavisd-new/files/amavisd-snmp.initd |
20 |
+++ /dev/null |
21 |
@@ -1,31 +0,0 @@ |
22 |
-#!/sbin/openrc-run |
23 |
-# Copyright 1999-2016 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-name="amavisd-snmp" |
27 |
-pidfile="/run/amavis/${name}.pid" |
28 |
-command="/usr/sbin/${name}-subagent" |
29 |
-command_args="${amavis_snmp_args} -P ${pidfile}" |
30 |
-start_stop_daemon_args="--interpreted" |
31 |
- |
32 |
-update_command() { |
33 |
- if [[ -x ${command}-zmq && ! $amavisd_snmp_command ]]; then |
34 |
- command="${command}-zmq" |
35 |
- elif [[ $amavisd_snmp_command ]]; then |
36 |
- command="$amavisd_snmp_command" |
37 |
- fi |
38 |
-} |
39 |
- |
40 |
-depend() { |
41 |
- use logger |
42 |
- before amavisd-new snmpd |
43 |
- update_command |
44 |
- if [[ ${command##*-} == "zmq" ]]; then |
45 |
- need amavis-mc |
46 |
- fi |
47 |
-} |
48 |
- |
49 |
-start_pre() { |
50 |
- update_command |
51 |
- checkpath -d -o amavis /run/amavis |
52 |
-} |