auto-starting postmaster with -i option - Mailing list pgsql-admin

From Andrew Perrin
Subject auto-starting postmaster with -i option
Date
Msg-id Pine.LNX.4.21.0103191913150.11027-100000@nujoma.perrins
Whole thread Raw
List pgsql-admin
Greetings.

Running 7.0.3 under Debian 2.2, I'd like postmaster to start on boot with
the -i option. I've got it working with just the defaults, using
start-stop-daemon, but for some reason it ignores the section after the
--, which the start-stop-daemon documentation claims will be passed as
arguments to the executable. Here's the command from the
/etc/init.d/postgres file:

start-stop-daemon --chuid postgres --exec /usr/local/pgsql/bin/postmaste
r --start /usr/local/pgsql/bin/postmaster -- -S -d -i
-D/var/lib/postgres/data

But here's the output of pg_ctl status:

postgres@nujoma:~$ pg_ctl status
pg_ctl: postmaster is running (pid: 11145)
options are:
/usr/local/pgsql/bin/postmaster
-p 5432
-D /var/lib/postgres/data
-B 64
-b /usr/local/pgsql/bin/postgres
-N 32
-S

If a kind soul who has this working would be willing to send me some tips
I'd appreciate it.

ap

----------------------------------------------------------------------
Andrew J Perrin - Ph.D. Candidate, UC Berkeley, Dept. of Sociology
(Soon: Asst Professor of Sociology, U of North Carolina, Chapel Hill)
andrew_perrin@unc.edu - http://www.unc.edu/~aperrin


pgsql-admin by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: RE: Re: PostgreSQL; Strange error
Next
From: "Tudor Gabriel PETRESCU"
Date:
Subject: psql