Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/files/
Date: Sun, 27 May 2018 16:11:21
Message-Id: 1527437427.c3f909bc2732dd64834bc698f116b4d5ad104739.bman@gentoo
1 commit: c3f909bc2732dd64834bc698f116b4d5ad104739
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun May 27 12:08:12 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 16:10:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f909bc
7
8 mail-filter/rspamd: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/8614
11
12 mail-filter/rspamd/files/rspamd.init-r2 | 50 ---------------------------------
13 1 file changed, 50 deletions(-)
14
15 diff --git a/mail-filter/rspamd/files/rspamd.init-r2 b/mail-filter/rspamd/files/rspamd.init-r2
16 deleted file mode 100644
17 index bf6f9ca8bcf..00000000000
18 --- a/mail-filter/rspamd/files/rspamd.init-r2
19 +++ /dev/null
20 @@ -1,50 +0,0 @@
21 -#!/sbin/openrc-run
22 -# Copyright 2015 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -extra_commands="checkconfig"
26 -extra_started_commands="reload"
27 -
28 -RUNDIR=/var/run/rspamd
29 -PIDFILE=$RUNDIR/rspamd.pid
30 -
31 -depend() {
32 - need net
33 -}
34 -
35 -checkconfig() {
36 - /usr/bin/rspamadm configtest -c /etc/rspamd/rspamd.sysvinit.conf > /dev/null \
37 - || return 1
38 -}
39 -
40 -start() {
41 - checkconfig || return 1
42 - ebegin "Starting ${SVCNAME}"
43 -
44 - mkdir -m0750 -p $RUNDIR
45 - chown rspamd:rspamd $RUNDIR
46 - chmod g+s $RUNDIR
47 - rm -f $RUNDIR/$SVCNAME.sock
48 -
49 - start-stop-daemon --start --quiet --pidfile $PIDFILE -u rspamd -g rspamd \
50 - --exec /usr/bin/rspamd
51 - eend $?
52 -}
53 -
54 -stop() {
55 - if [ "${RC_CMD}" = "restart" ] ; then
56 - checkconfig || return 1
57 - fi
58 -
59 - ebegin "Stopping ${SVCNAME}"
60 - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE \
61 - --exec /usr/bin/rspamd
62 - eend $?
63 -}
64 -
65 -reload() {
66 - checkconfig || return 1
67 - ebegin "Reloading ${SVCNAME}"
68 - start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE
69 - eend $?
70 -}