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.
** Changed in: postgresql-common (Ubuntu)
Sourcepackagename: postgresql-8.3 => postgresql-common
Status: New => Incomplete
--
postgre init script is not LSB compliant (for heartbeat, i.e. linux-ha)
https://bugs.launchpad.net/bugs/248939
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs