]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- comments about why startup progress is not checked
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 7 May 2010 16:39:19 +0000 (16:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postgresql-instance.upstart -> 1.2

postgresql-instance.upstart

index e0274e06133229188a5c376e854c3ead6f60631d..9b4ea84889c2c77b8f73eaaae0c0afd5917815e3 100644 (file)
@@ -8,11 +8,13 @@ env DATADIR=/var/lib/pgsql
 
 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
This page took 0.207283 seconds and 4 git commands to generate.