]> git.pld-linux.org Git - packages/postgresql.git/blobdiff - postgresql.init
- up to 9.0.2
[packages/postgresql.git] / postgresql.init
index 82dab53ec43b46d150e05ec4d3c37d85dd9a85d9..1a5f91bdc3a94e7a507c69349c4f041b73930e6f 100644 (file)
@@ -92,7 +92,7 @@ pgstatus() {
 # $1 - db cluster
 #
 pgstart() {
-       is_no $RC_LOGGING && fork=--fork
+       is_no "$RC_LOGGING" && fork=--fork
        msg_starting "PostgreSQL $1"
        daemon $fork --user postgres /usr/bin/pg_ctl -s -w -D $1 start
 }
@@ -167,6 +167,9 @@ stop() {
        pgsubsys
 }
 
+
+upstart_controlled --except status init
+
 RETVAL=0
 # See how we were called.
 # Every action is performed for all given (all configured by default)
This page took 0.239928 seconds and 4 git commands to generate.