commit: 5f4abdd5629e3186954d1b89667c776da570602a Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Fri Feb 19 08:29:49 2021 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sat Feb 20 22:43:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4abdd5
mail-filter/amavisd-new: remove unused files Closes: https://github.com/gentoo/gentoo/pull/19535 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> mail-filter/amavisd-new/files/amavis-mc.initd-r1 | 18 --------------- .../files/amavisd-snmp-subagent-zmq.initd | 26 ---------------------- 2 files changed, 44 deletions(-) diff --git a/mail-filter/amavisd-new/files/amavis-mc.initd-r1 b/mail-filter/amavisd-new/files/amavis-mc.initd-r1 deleted file mode 100644 index 6343d4255c4..00000000000 --- a/mail-filter/amavisd-new/files/amavis-mc.initd-r1 +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/sbin/amavis-mc" -pidfile="/run/${RC_SVCNAME}.pid" - -# Let OpenRC background this, because otherwise it will write its PID -# file after dropping privileges which presents a security issue when -# we go to `kill` the thing as root. -command_args="-f" -command_background="true" -command_user="amavis:amavis" - -depend() { - use logger - before amavisd-new snmpd -} diff --git a/mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd b/mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd deleted file mode 100644 index 7482a3f1d20..00000000000 --- a/mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/sbin/amavisd-snmp-subagent-zmq" -pidfile="/run/${RC_SVCNAME}.pid" - -# The RELEASE_NOTES say "it is safe to run it as root, although -# perhaps not necessary." I'm not in a position to test, but I bet -# it's safe to run this as amavis:amavis. Since the program itself -# doesn't have the ability to drop privileges, we'd have to let OpenRC -# do that; and in that case, the easiest way to deal with the PID file -# is to let OpenRC handle that, too. -# -# Thus as a means of future-proofing, we run $command in the -# foreground, and let OpenRC background it and write a PID file. So -# if somebody wants to try command_user="amavis:amavis" here, it might -# just work. -command_args="-f" -command_background="true" - -depend() { - use logger - before amavisd-new snmpd - need amavis-mc -}
