[packages/postgrey] - up to 1.35 - fixed pidfile handling

adwol adwol at pld-linux.org
Tue Oct 28 00:32:07 CET 2014


commit 0f9e53bb3d07eb63dc056939e408fdd6516ec5f4
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Tue Oct 28 00:31:04 2014 +0100

    - up to 1.35
    - fixed pidfile handling

 postgrey.init | 2 +-
 postgrey.spec | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/postgrey.spec b/postgrey.spec
index 104fb4a..2818958 100644
--- a/postgrey.spec
+++ b/postgrey.spec
@@ -2,12 +2,12 @@
 Summary:	Postfix Greylisting Policy Server
 Summary(pl.UTF-8):	Serwer do polityki "szarych list" dla Postfiksa
 Name:		postgrey
-Version:	1.34
-Release:	2
+Version:	1.35
+Release:	1
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	http://postgrey.schweikert.ch/pub/%{name}-%{version}.tar.gz
-# Source0-md5:	f736a7be1094593f1a66cd13f32b39ef
+# Source0-md5:	995f265679c9bcc11c6c1db881003e36
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Source3:	http://www.lipek.pl/postgrey_clients_dump
diff --git a/postgrey.init b/postgrey.init
index 07427d7..172f5f3 100644
--- a/postgrey.init
+++ b/postgrey.init
@@ -40,7 +40,7 @@ case "$1" in
 	# Check if the service is already running?
 	if [ ! -f /var/lock/subsys/postgrey ]; then
 		msg_starting postgrey
-		daemon /usr/sbin/postgrey -d $OPTIONS
+		daemon /usr/sbin/postgrey -d --pidfile=/var/run/postgrey.pid $OPTIONS
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/postgrey
 	else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postgrey.git/commitdiff/0f9e53bb3d07eb63dc056939e408fdd6516ec5f4



More information about the pld-cvs-commit mailing list