]> git.pld-linux.org Git - packages/postgresql.git/blobdiff - postgresql.init
- -w is back while starting postgresql - there is no problems reported by
[packages/postgresql.git] / postgresql.init
index e6c0cdc51b2da114db0639ca2d41781d9e63f3cf..34b2d2a6290d27d70742e187a29f0d015e3eb7c5 100644 (file)
@@ -91,7 +91,7 @@ pgstatus() {
 #
 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 @@ stop() {
                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"
This page took 0.821659 seconds and 4 git commands to generate.