diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-01 03:04:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-01 03:04:39 +0000 |
commit | 407525b571b48cfd65e1ad7a02d250a927c967c9 (patch) | |
tree | 844bea44d85dc7218f54970af1c42cc9d55c3f1a /mail-filter/spamassassin/files/3.4.1-spamd.init-r1 | |
parent | 89c6c06b8c42107dd231687a1012354e7d3039fc (diff) |
gentoo resync : 01.12.2017
Diffstat (limited to 'mail-filter/spamassassin/files/3.4.1-spamd.init-r1')
-rwxr-xr-x | mail-filter/spamassassin/files/3.4.1-spamd.init-r1 | 34 |
1 files changed, 0 insertions, 34 deletions
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 5f981d8e2c3d..000000000000 --- 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 $? -} |