Comment 3 for bug 248939

Revision history for this message
Martin Pitt (pitti) wrote :

I don't understand what's wrong with the current init script. The "status" action already behaves LSB like, exiting with 0 if everything is running, with 3 if a cluster is down, and with 4 if no clusters are existing. Since the script is set -e, the "exit $?" patch is a no-op and does not change anything.

What would status_of_proc change here? IMHO using pg_lsclusters and pg_ctl are slightly more accurate here.

In either case, this should be changed in /usr/share/postgresql-common/init.d-functions and thus in postgresql-common, reassigning.