rpms/pgbouncer/F-11 pgbouncer.init,1.2,1.3 pgbouncer.spec,1.3,1.4

Devrim GÜNDÜZ devrim at fedoraproject.org
Fri Dec 4 22:52:15 UTC 2009


Author: devrim

Update of /cvs/extras/rpms/pgbouncer/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23421/F-11

Modified Files:
	pgbouncer.init pgbouncer.spec 
Log Message:
Fix init script, per report from Scott Bowers: http://lists.pgfoundry.org/pipermail/pgbouncer-general/2009-December/000477.html




Index: pgbouncer.init
===================================================================
RCS file: /cvs/extras/rpms/pgbouncer/F-11/pgbouncer.init,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- pgbouncer.init	1 Dec 2009 22:22:04 -0000	1.2
+++ pgbouncer.init	4 Dec 2009 22:52:15 -0000	1.3
@@ -66,13 +66,11 @@ start(){
 	chown postgres: /var/run/${NAME}
 
 	$SU -l postgres -c "pgbouncer '$BOUNCERCONF' & " >> "$BOUNCERLOG" 2>&1 < /dev/null
-	sleep 2
 	pid=`pidof -s pgbouncer`
         if [ $pid ]
         then
           success "$BOUNCER_START"
           touch /var/lock/subsys/${NAME}
-          echo "$pid" > "/var/run/${NAME}/${NAME}.pid"
           echo
         else
           failure "$BOUNCER_START"


Index: pgbouncer.spec
===================================================================
RCS file: /cvs/extras/rpms/pgbouncer/F-11/pgbouncer.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- pgbouncer.spec	1 Dec 2009 22:22:04 -0000	1.3
+++ pgbouncer.spec	4 Dec 2009 22:52:15 -0000	1.4
@@ -2,7 +2,7 @@
 
 Name:		pgbouncer
 Version:	1.3.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Lightweight connection pooler for PostgreSQL
 Group:		Applications/Databases
 License:	MIT and BSD
@@ -82,6 +82,10 @@ rm -rf %{buildroot}
 %{_mandir}/man5/%{name}.*
 
 %changelog
+* Sat Dec 05 2009 Devrim GÜNDÜZ <devrim at gunduz.org> - 1.3.1-2
+- Fix init script, per report from Scott Bowers:
+  http://lists.pgfoundry.org/pipermail/pgbouncer-general/2009-December/000477.html
+
 * Tue Dec 1 2009 - Devrim GUNDUZ <devrim at gunduz.org> 1.3.1-1
 - Update to 1.3.1
 




More information about the fedora-extras-commits mailing list