Re: Starting postmaster (postgresql) at boot time
On Sun, 8 Mar 1998, Remco van de Meent wrote:
> On Sun, 8 Mar 1998, Johann Spies wrote:
>
> : How do I get the postgresql (6.3) postmaster to start running from the
> : start. ...does not work on my debian machine:
> : putting it in the inittab-file or putting the postgres.init script in
> : /etc/rc.d/init.d.
> You need to create symlinks from the /etc/init.d dir to /etc/rc[12345].d
> too. Just have a look how most of the things are managed.
Thanks for your reply.
I have tried that, without any success.
> Otherwise, create a crontab entry (cron -e -u postgres) for the user running
> postgresql. "@reboot /path/to/program" will start "program" when starting
> crond.
I have also tried that. I think it should be crontab -e -u postgres.
^^^
I put the following line in there:
@reboot /usr/local/bin/postmaster -S -o'-e -F'
That also did not do the job.
Johann
------------------------------------------------
jhspies@alpha.futurenet.co.za
Windsorlaan 19
Pietermaritzburg
3201
Suid Afrika (South Africa)
Tel/Faks Nr. +27 331-46-1310
--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@debian.org .
Reply to: