]> git.pld-linux.org Git - packages/postgresql.git/blobdiff - postgresql-instance.upstart
- up to 9.3.25; fixes tons of CVEs
[packages/postgresql.git] / 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.074303 seconds and 4 git commands to generate.