anchor.diff:  export PGPORT
   
   lockfile="/var/lock/subsys/${NAME}"
  -pidfile="/var/run/postmaster-9.1.pid"
  +pidfile="<%= pg_dir %>/postmaster.pid"
   
   [ -f "$PGENGINE/postmaster" ] || exit 1
   
  
positive.code:     stop
      ;;
    status)
      status -p /var/run/postmaster-9.1.pid
      script_result=$?
      ;;
    restart)
  
negative.code: # chkconfig: - 64 36
  # description: PostgreSQL database server.
  # processname: postmaster
  <% pg_dir = node[:postgresql][:dir] -%>
  
  # This script is slightly unusual in that the name of the daemon (postmaster)
  # is not the same as the name of the subsystem (postgresql)
  