Index: contrib/start-scripts/linux =================================================================== RCS file: /projects/cvsroot/pgsql/contrib/start-scripts/linux,v retrieving revision 1.8 diff -c -d -r1.8 linux *** contrib/start-scripts/linux 13 Jul 2006 14:44:33 -0000 1.8 --- contrib/start-scripts/linux 20 Aug 2009 14:44:44 -0000 *************** *** 3,8 **** --- 3,20 ---- # chkconfig: 2345 98 02 # description: PostgreSQL RDBMS + ### BEGIN INIT INFO + # Provides: postgresql + # Required-Start: $local_fs $network $syslog + # Should-Start: $named $time + # Required-Stop: $local_fs $network $syslog + # Should-Stop: $named + # Default-Start: 2 3 4 5 + # Default-Stop: 0 1 6 + # Short-Description: PostgreSQL RDBMS + # Description: PostgreSQL RDBMS service + ### END INIT INFO + # This is an example of a start/stop script for SysV-style init, such # as is used on Linux systems. You should edit some of the variables # and maybe the 'echo' commands. *************** *** 56,62 **** set -e # Only start if we can find the postmaster. ! test -x $DAEMON || exit 0 # Parse command line parameters. case $1 in --- 68,79 ---- set -e # Only start if we can find the postmaster. ! test -x $DAEMON || \ ! { ! echo "$DAEMON not found" ; ! if [ "$1" = "stop" ] ; then exit 0 ; ! else exit 5 ; fi ; ! } # Parse command line parameters. case $1 in