From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021203 Description of problem: Last line of /etc/rc.d/init.d/postgresql says: exit 0 This should be changed to exit $? in order to get correct exit values when server is running/stopped/dead/etc. Correct exit value is important for scripts and all other init scripts uses them, too. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Start and stop postgresql via init script 2. /etc/init.d/postgresql status 3. Actual Results: exit value is always 0. Expected Results: exit value should depend on server state.
So, what's the story here?
I am looking into this.
Reassigning.
Done in PostgreSQL 8.0 version of init script.