[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: start-stop-daemon, postgresql, and options



On Mon, Mar 19, 2001 at 10:26:54AM -0500, Andrew Perrin wrote:
> 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

My /etc/init.d/posgresql uses start-stop-daemon to launch
/usr/lib/postgresql/bin/postgresql-startup which handles a lot of the
details of running postgresql.

Does your locally-compiled version come with that script?



Reply to: