Linux startup script

From: Darko Prenosil <darko(dot)prenosil(at)finteh(dot)hr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Linux startup script
Date: 2003-05-29 18:44:22
Message-ID: 200305292044.22563.darko.prenosil@finteh.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have noticed that after "/etc/init.d/postgresql restart", postmaster is no
longer writes to "serverlog". (RedHat 9).
Here is fixed "restart" section.

restart)
echo -n "Restarting PostgreSQL: "
su - $PGUSER -c "$DAEMON restart -D '$PGDATA' -s -m fast -l $PGLOG"
echo "ok"
;;

In version 7.3.3 is missing "-l $PGLOG" at the end of "$DAEMON restart"
command.

Regards !

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-05-29 19:04:54 Re: Question about simple function folding optimization
Previous Message Tom Lane 2003-05-29 17:44:18 Re: Question about simple function folding optimization