diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /mail-filter/amavisd-new/files | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'mail-filter/amavisd-new/files')
-rw-r--r-- | mail-filter/amavisd-new/files/amavis-mc.initd-r1 | 18 | ||||
-rw-r--r-- | mail-filter/amavisd-new/files/amavisd-snmp-subagent-zmq.initd | 26 |
2 files changed, 0 insertions, 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 6343d4255c4c..000000000000 --- 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 7482a3f1d20b..000000000000 --- 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 -} |