From: scott.marlowe <scott.marlowe@ihs.com>
To: H.J. Sanders <hjs@worldonline.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: start
Date: Mon, 3 May 2004 14:16:29 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0405031414300.29255-100000@css120.ihs.com> (raw)
In-Reply-To: <KIEBKBGIGGNDKKJJNKCFMEJICKAA.hjs@worldonline.nl>
On Mon, 3 May 2004, H.J. Sanders wrote:
>
> Hello list.
>
>
> I have difficulties starting the postmaster automatically at boot time
> (everything I tried is done by 'root').
>
> Can someone give me an example for LINUX (SUSE 8).
Just FYI, this probably belongs on admin, but no biggie.
I start my postgresql database with this line:
su - postgres -c 'pg_ctl start | rotatelogs $PGDATA/pglog 86400 2>1&'
If you have apache rotatelogs in the postgres user's path, you can start
the database as postgresql AND set the logs to be rotated every 24 hours
with this line. If not, and you don't need to log the database's
notices and such, then just enter this:
su - postgres -c 'pg_ctl start 2>1&'
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: scott.marlowe@ihs.com, hjs@worldonline.nl
Subject: Re: start
In-Reply-To: <Pine.LNX.4.33.0405031414300.29255-100000@css120.ihs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox