packages: postgresql/postgresql-instance.upstart - comments about why start...

jajcus jajcus at pld-linux.org
Fri May 7 18:39:24 CEST 2010


Author: jajcus                       Date: Fri May  7 16:39:24 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- comments about why startup progress is not checked

---- Files affected:
packages/postgresql:
   postgresql-instance.upstart (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/postgresql/postgresql-instance.upstart
diff -u packages/postgresql/postgresql-instance.upstart:1.1 packages/postgresql/postgresql-instance.upstart:1.2
--- packages/postgresql/postgresql-instance.upstart:1.1	Fri May  7 15:02:42 2010
+++ packages/postgresql/postgresql-instance.upstart	Fri May  7 18:39:19 2010
@@ -8,11 +8,13 @@
 
 script
 	exec >>/var/log/pgsql 2>&1
+
+	# please note: 'pg_ctl start' does not work with 'expect daemon' 
+	# nor 'expect fork', so we need to start postgres directly
 	exec /sbin/setuidgid -s postgres \
 		/usr/bin/postgres -D $DATADIR
 end script
 
+# TODO: wait for the server in post-start
 
-
-
-
+# vi: ft=upstart
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/postgresql/postgresql-instance.upstart?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list