Command for restart in the contrib/linux script

Поиск
Список
Период
Сортировка
Искать

Command for restart in the contrib/linux script

От:
"Devinder K Rajput" <Devinder.Rajput@ipaper.com>
Дата:
Hi,

I am modifying the contrib/linux script (used to start postgres).  The line
that starts the db engine is:
      su - $PGUSER -c "$DAEMON start -D '$PGDATA' -s -l $PGLOG"
and the line that restarts the db engine is:
      su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast"

Is there any reason why the "-l $PGLOG" option is omitted in the restart.
Thank you,

Devinder



FAQ