Re: Starting postmaster with the option -i - Mailing list pgsql-admin

From speedboy
Subject Re: Starting postmaster with the option -i
Date
Msg-id Pine.LNX.4.21.0108312354170.21210-100000@b.evark.com
Whole thread Raw
In response to Starting postmaster with the option -i  (raquel.vieira@ent.efacec.pt (Raquel Vieira))
Responses Re: Starting postmaster with the option -i  (Lamar Owen <lamar.owen@wgcr.org>)
List pgsql-admin
[root@b] : cat /etc/rc.d/init.d/postgresql
#!/bin/sh
#[ -x /tmp/.s.PGSQL.* ] && rm -f /tmp/.s.PGSQL.*
case "$1" in
  'start')
  su - postgres -c 'exec /usr/local/pgsql/bin/pg_ctl -o -i -D
/home/postgres/data start >> /usr/local/pgsql/errlog 2>&1 &'
  ;;

  'stop')
  su - postgres -c 'exec /usr/local/pgsql/bin/pg_ctl -D
/home/postgres/data stop >> /usr/local/pgsql/errlog 2>&1 &'
  ;;

  *)
        echo "usage: $0 start|stop"
        exit 1
  ;;
esac
[root@b]:

That help? :)


pgsql-admin by date:

Previous
From: Gary Stainburn
Date:
Subject: Re: Starting postmaster with the option -i
Next
From: Lamar Owen
Date:
Subject: Re: Starting postmaster with the option -i