From 0777d57a9a3afc953c8b4b6c023d660bbb0ca12d Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Tue, 28 Nov 2017 20:40:17 +0100 Subject: [PATCH] mail-filter/spamassassin: remove unused files Signed-off-by: Michael Orlitzky --- .../spamassassin/files/3.4.1-spamd.init-r1 | 34 ------------------- .../files/spamassassin.service-r3 | 10 ------ .../files/spamassassin.service.conf-r1 | 2 -- 3 files changed, 46 deletions(-) delete mode 100755 mail-filter/spamassassin/files/3.4.1-spamd.init-r1 delete mode 100644 mail-filter/spamassassin/files/spamassassin.service-r3 delete mode 100644 mail-filter/spamassassin/files/spamassassin.service.conf-r1 diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 b/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 deleted file mode 100755 index 5f981d8e2c3da..0000000000000 --- a/mail-filter/spamassassin/files/3.4.1-spamd.init-r1 +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command="/usr/sbin/spamd" -pidfile="/run/spamd.pid" -command_args="--username=spamd - --groupname=spamd - --pidfile=${pidfile} - ${SPAMD_OPTS}" -command_args_background="--daemonize" - -: ${SPAMD_NICELEVEL:=0} -start_stop_daemon_args="--nicelevel ${SPAMD_NICELEVEL}" - -# Retry after SPAMD_TIMEOUT seconds because spamd can take a -# while to kill off all of its children. This was bug 322025. -: ${SPAMD_TIMEOUT:=15} -retry="${SPAMD_TIMEOUT}" - -extra_started_commands="reload" - -depend() { - before mta - use logger mysql postgres -} - -reload() { - ebegin "Reloading configuration" - # Warning: reload causes the PID of the spamd process to - # change, but spamd does update its PID file afterwards. - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} diff --git a/mail-filter/spamassassin/files/spamassassin.service-r3 b/mail-filter/spamassassin/files/spamassassin.service-r3 deleted file mode 100644 index 6bc74c46cc5fb..0000000000000 --- a/mail-filter/spamassassin/files/spamassassin.service-r3 +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Spamassassin daemon -After=network.target - -[Service] -ExecStart=/usr/sbin/spamd --username=spamd --groupname=spamd $SPAMD_OPTS -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target diff --git a/mail-filter/spamassassin/files/spamassassin.service.conf-r1 b/mail-filter/spamassassin/files/spamassassin.service.conf-r1 deleted file mode 100644 index 75918e824f22b..0000000000000 --- a/mail-filter/spamassassin/files/spamassassin.service.conf-r1 +++ /dev/null @@ -1,2 +0,0 @@ -[Service] -Environment="SPAMD_OPTS=--max-children=5 --create-prefs --helper-home-dir"