SOURCES: postgresql.init - -w is back while starting postgresql - ...

wrobell wrobell at pld-linux.org
Sun Dec 10 00:05:54 CET 2006


Author: wrobell                      Date: Sat Dec  9 23:05:54 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- -w is back while starting postgresql - there is no problems reported by
  blues... at least with pg 8.2.0

---- Files affected:
SOURCES:
   postgresql.init (1.72 -> 1.73) 

---- Diffs:

================================================================
Index: SOURCES/postgresql.init
diff -u SOURCES/postgresql.init:1.72 SOURCES/postgresql.init:1.73
--- SOURCES/postgresql.init:1.72	Mon Oct 30 17:42:15 2006
+++ SOURCES/postgresql.init	Sun Dec 10 00:05:48 2006
@@ -91,7 +91,7 @@
 #
 pgstart() {
 	msg_starting "PostgreSQL $1"
-	daemon --user postgres /usr/bin/pg_ctl -s -D $1 start
+	daemon --user postgres /usr/bin/pg_ctl -s -w -D $1 start
 }
 
 #
@@ -144,7 +144,7 @@
 		else
 			msg_stopping "PostgreSQL $pgdir"
 			busy
-				# is postgresql really alive?
+			# is postgresql really alive?
 			if ps ax | grep -v grep | grep -q "$PG_PID"; then
 				TMPDIR=/tmp su postgres -c "/usr/bin/pg_ctl -w -D $pgdir stop -m fast 2>&1 >/dev/null"
 				pgstatus "$pgdir"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/postgresql.init?r1=1.72&r2=1.73&f=u



More information about the pld-cvs-commit mailing list