diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2012-08-29 09:32:52 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2012-08-29 09:32:52 +0000 |
commit | 330fcbea24c0f9e9f2a03e9ca697145986f42fdb (patch) | |
tree | c171ce54c77359cb1db3859e8d33ffe62d1cc2ad /mail-filter | |
parent | Restrict py3 due to syntax incompatibility (diff) | |
download | gentoo-2-330fcbea24c0f9e9f2a03e9ca697145986f42fdb.tar.gz gentoo-2-330fcbea24c0f9e9f2a03e9ca697145986f42fdb.tar.bz2 gentoo-2-330fcbea24c0f9e9f2a03e9ca697145986f42fdb.zip |
fixed init-script reload function. Now it can also be used with a posix-shell like 'dash'.
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/spamassassin/ChangeLog | 6 | ||||
-rw-r--r-- | mail-filter/spamassassin/files/3.3.1-spamd.init | 10 |
2 files changed, 10 insertions, 6 deletions
diff --git a/mail-filter/spamassassin/ChangeLog b/mail-filter/spamassassin/ChangeLog index 9ea98d135331..8138564ddfb0 100644 --- a/mail-filter/spamassassin/ChangeLog +++ b/mail-filter/spamassassin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-filter/spamassassin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.214 2012/08/21 04:30:17 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.215 2012/08/29 09:32:51 sbriesen Exp $ + + 29 Aug 2012; Stefan Briesenick <sbriesen@gentoo.org> files/3.3.1-spamd.init: + fixed init-script reload function. Now it can also be used with a posix-shell + like 'dash'. 21 Aug 2012; Christoph Junghans <ottxor@gentoo.org> spamassassin-3.3.2-r1.ebuild: diff --git a/mail-filter/spamassassin/files/3.3.1-spamd.init b/mail-filter/spamassassin/files/3.3.1-spamd.init index e52dba67916e..4c0b72a0fb92 100644 --- a/mail-filter/spamassassin/files/3.3.1-spamd.init +++ b/mail-filter/spamassassin/files/3.3.1-spamd.init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $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 $ # NB: Config is in /etc/conf.d/spamd @@ -14,8 +14,8 @@ depend() { need net before mta use logger -@USEPOSTGRES@ use postgresql -@USEMYSQL@ use mysql +@USEPOSTGRES@ use postgresql +@USEMYSQL@ use mysql } start() { @@ -41,6 +41,6 @@ stop() { reload() { ebegin "Reloading configuration" - kill -HUP $(< ${PIDFILE}) + start-stop-daemon --signal HUP --quiet --pidfile ${PIDFILE} eend $? } |