Greetings.

Running a locally-compiled postgresql 7.0.3, I'm still trying to get it
to start up automatically at boot time. The trick is, of course, to get
it to start as user postgres instead of root.

I've got it mostly working, using start-stop-daemon; the command is:

start-stop-daemon --start <path> --exec <path> --chuid postgres

that works well, EXCEPT that I need to pass a non-standard option to the
postmaster (the option is -i). According to the start-stop-daemon
manpage, I should be able to use -- followed by -i (because anything
following -- is supposed to be passed to the executed program). 
However, it just doesn't happen; I include these, then use pg_ctl status
to check on it, and the -i option isn't there. And the functionality
isn't either -- the database is accessible only from the local machine.

Any ideas?
Thanks.

-- 
--------------------------------------------------------------
Andrew J. Perrin - Programmer/Analyst, Desktop Support
Children's Primary Care Research Group, UNC - Chapel Hill
(919)966-9394 * [EMAIL PROTECTED]

Reply via email to