From: | "Stefan Briesenick (sbriesen)" <sbriesen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-filter/spamassassin/files: 3.3.1-spamd.init |
Date: | Wed, 29 Aug 2012 09:33:03 |
Message-Id: | 20120829093252.3FA4A20B1B@flycatcher.gentoo.org |
1 | sbriesen 12/08/29 09:32:52 |
2 | |
3 | Modified: 3.3.1-spamd.init |
4 | Log: |
5 | fixed init-script reload function. Now it can also be used with a posix-shell like 'dash'. |
6 | |
7 | (Portage version: 2.2.0_alpha123/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.5 mail-filter/spamassassin/files/3.3.1-spamd.init |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init?r1=1.4&r2=1.5 |
15 | |
16 | Index: 3.3.1-spamd.init |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- 3.3.1-spamd.init 14 Sep 2011 23:00:38 -0000 1.4 |
23 | +++ 3.3.1-spamd.init 29 Aug 2012 09:32:52 -0000 1.5 |
24 | @@ -1,7 +1,7 @@ |
25 | #!/sbin/runscript |
26 | -# Copyright 1999-2011 Gentoo Foundation |
27 | +# Copyright 1999-2012 Gentoo Foundation |
28 | # Distributed under the terms of the GNU General Public License v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init,v 1.4 2011/09/14 23:00:38 polynomial-c Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init,v 1.5 2012/08/29 09:32:52 sbriesen Exp $ |
31 | |
32 | # NB: Config is in /etc/conf.d/spamd |
33 | |
34 | @@ -14,8 +14,8 @@ |
35 | need net |
36 | before mta |
37 | use logger |
38 | -@USEPOSTGRES@ use postgresql |
39 | -@USEMYSQL@ use mysql |
40 | +@USEPOSTGRES@ use postgresql |
41 | +@USEMYSQL@ use mysql |
42 | } |
43 | |
44 | start() { |
45 | @@ -41,6 +41,6 @@ |
46 | |
47 | reload() { |
48 | ebegin "Reloading configuration" |
49 | - kill -HUP $(< ${PIDFILE}) |
50 | + start-stop-daemon --signal HUP --quiet --pidfile ${PIDFILE} |
51 | eend $? |
52 | } |