Обсуждение: Command for restart in the contrib/linux script

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

Command for restart in the contrib/linux script

От
"Devinder K Rajput"
Дата:
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