--- postgresql.orig 2008-03-14 15:16:13.000000000 +1000 +++ postgresql.fixed 2008-03-14 15:16:29.000000000 +1000 @@ -268,7 +268,7 @@ stop ;; status) - status postmaster + status -p /var/run/postmaster.${PGPORT}.pid script_result=$? ;; restart)