diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /mail-filter/amavisd-new/files | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'mail-filter/amavisd-new/files')
-rw-r--r-- | mail-filter/amavisd-new/files/amavis-mc.initd | 17 | ||||
-rw-r--r-- | mail-filter/amavisd-new/files/amavisd-snmp.initd | 31 | ||||
-rw-r--r-- | mail-filter/amavisd-new/files/amavisd.initd-r1 | 44 | ||||
-rw-r--r-- | mail-filter/amavisd-new/files/amavisd.service | 22 |
4 files changed, 0 insertions, 114 deletions
diff --git a/mail-filter/amavisd-new/files/amavis-mc.initd b/mail-filter/amavisd-new/files/amavis-mc.initd deleted file mode 100644 index 84658da9a4e2..000000000000 --- a/mail-filter/amavisd-new/files/amavis-mc.initd +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -pidfile="/run/amavis/amavis-mc.pid" -command="/usr/sbin/amavis-mc" -command_args="${amavis_mc_args} -P ${pidfile}" -start_stop_daemon_args="--interpreted" - -depend() { - use logger - before amavisd-new snmpd -} - -start_pre() { - checkpath -d -o amavis /run/amavis -} diff --git a/mail-filter/amavisd-new/files/amavisd-snmp.initd b/mail-filter/amavisd-new/files/amavisd-snmp.initd deleted file mode 100644 index fc23a1fc1019..000000000000 --- a/mail-filter/amavisd-new/files/amavisd-snmp.initd +++ /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 -} diff --git a/mail-filter/amavisd-new/files/amavisd.initd-r1 b/mail-filter/amavisd-new/files/amavisd.initd-r1 deleted file mode 100644 index d772433aa418..000000000000 --- a/mail-filter/amavisd-new/files/amavisd.initd-r1 +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands="reload" -extra_commands="debug debug_sa" - -prog="/usr/sbin/amavisd" -progname="amavisd-new" - -depend() { - use net logger antivirus snmpd - before mta -} - -start() { - ebegin "Starting ${progname}" - "${prog}" start - eend $? -} - -stop() { - ebegin "Stopping ${progname}" - "${prog}" stop 1>/dev/null - eend $? -} - -reload() { - ebegin "Reloading ${progname}" - "${prog}" reload 1>/dev/null - eend $? -} - -debug() { - ebegin "Starting ${progname} in debug mode" - "${prog}" debug - eend $? -} - -debug_sa() { - ebegin "Starting ${progname} in debug-sa mode" - "${prog}" debug-sa - eend $? -} diff --git a/mail-filter/amavisd-new/files/amavisd.service b/mail-filter/amavisd-new/files/amavisd.service deleted file mode 100644 index c53c38ac1632..000000000000 --- a/mail-filter/amavisd-new/files/amavisd.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=Amavisd Daemon -Wants=postfix.service -Wants=spamassassin.service -Wants=clamd.service -After=network.target - -[Service] -User=amavis -Group=amavis -ExecStart=/usr/sbin/amavisd -c /etc/amavisd.conf foreground -ExecReload=/usr/sbin/amavisd -c /etc/amavisd.conf reload -PrivateTmp=true -CapabilityBoundingSet= -ProtectSystem=full -NoNewPrivileges=true -PrivateDevices=true -ProtectHome=true -MemoryDenyWriteExecute=true - -[Install] -WantedBy=multi-user.target |