public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stefan Briesenick (sbriesen)" <sbriesen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/spamassassin/files: 3.3.1-spamd.init
Date: Wed, 29 Aug 2012 09:32:52 +0000 (UTC)	[thread overview]
Message-ID: <20120829093252.3FA4A20B1B@flycatcher.gentoo.org> (raw)

sbriesen    12/08/29 09:32:52

  Modified:             3.3.1-spamd.init
  Log:
  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)

Revision  Changes    Path
1.5                  mail-filter/spamassassin/files/3.3.1-spamd.init

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init?rev=1.5&view=markup
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
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init?r1=1.4&r2=1.5

Index: 3.3.1-spamd.init
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/files/3.3.1-spamd.init,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- 3.3.1-spamd.init	14 Sep 2011 23:00:38 -0000	1.4
+++ 3.3.1-spamd.init	29 Aug 2012 09:32:52 -0000	1.5
@@ -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 @@
 	need net
 	before mta
 	use logger
-@USEPOSTGRES@  use postgresql
-@USEMYSQL@ use mysql
+@USEPOSTGRES@	use postgresql
+@USEMYSQL@	use mysql
 }
 
 start() {
@@ -41,6 +41,6 @@
 
 reload() {
 	ebegin "Reloading configuration"
-	kill -HUP $(< ${PIDFILE})
+	start-stop-daemon --signal HUP --quiet --pidfile ${PIDFILE}
 	eend $?
 }





             reply	other threads:[~2012-08-29  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29  9:32 Stefan Briesenick (sbriesen) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-09-14 23:00 [gentoo-commits] gentoo-x86 commit in mail-filter/spamassassin/files: 3.3.1-spamd.init Lars Wendler (polynomial-c)
2011-09-05 17:02 Torsten Veller (tove)
2010-04-07  4:13 Jeremy Olexa (darkside)
2010-04-06  1:46 Jeremy Olexa (darkside)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120829093252.3FA4A20B1B@flycatcher.gentoo.org \
    --to=sbriesen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox