Re: Starting postmaster with the option -i

Поиск
Список
Период
Сортировка
От speedboy
Тема Re: Starting postmaster with the option -i
Дата
Msg-id Pine.LNX.4.21.0108312354170.21210-100000@b.evark.com
обсуждение исходный текст
Ответ на Starting postmaster with the option -i  (raquel.vieira@ent.efacec.pt (Raquel Vieira))
Ответы Re: Starting postmaster with the option -i  (Lamar Owen <lamar.owen@wgcr.org>)
Список 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 по дате отправления:

Предыдущее
От: Gary Stainburn
Дата:
Сообщение: Re: Starting postmaster with the option -i
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: Starting postmaster with the option -i