summaryrefslogtreecommitdiff
path: root/mail-filter/spamassassin/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
commit09351e78166b5e864197c4456ebae3f89dd0bed9 (patch)
tree41a96399f56ed3aa399006871bfce4430db84aa2 /mail-filter/spamassassin/files
parentc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff)
gentoo resync : 22.01.2019
Diffstat (limited to 'mail-filter/spamassassin/files')
-rw-r--r--mail-filter/spamassassin/files/3.4.1-spamd.init-r238
1 files changed, 0 insertions, 38 deletions
diff --git a/mail-filter/spamassassin/files/3.4.1-spamd.init-r2 b/mail-filter/spamassassin/files/3.4.1-spamd.init-r2
deleted file mode 100644
index c704782f3a4e..000000000000
--- a/mail-filter/spamassassin/files/3.4.1-spamd.init-r2
+++ /dev/null
@@ -1,38 +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="--pidfile=${pidfile} ${SPAMD_OPTS}"
-command_args_background="--daemonize"
-
-if ! [ "${SPAMD_RUN_AS_ROOT}" = "true" ]; then
- # Passing --username=root to spamd kills it, so if SPAMD_RUN_AS_ROOT
- # is true, then we want to pass no user/group command args at all.
- # Any value other than "true" gets the default user/group of "spamd".
- command_args="${command_args} --username=spamd --groupname=spamd"
-fi
-
-: ${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 $?
-}