how to start postmaster at system boot on linux?
how to start postmaster at system boot on linux?
please can anyone tell me which files i have to change step by step.
thank you !
how to start postmaster at system boot on linux?
Hi! This question has probably been answered before, but here is my
suggestion ( more or less copy&paste from the pg rpm):
(in attach)
Copy the file to /etc/rc.d/init.d and then proceed with normal config of
SysV runlevels to start it on, for example, runlevel 3.
(you can use control-panel to get there or you can do it manually, look at
other examples in /etc/rc.d/rc3.d ...they are sym links...).
In the update scritpt, you should do some cleanning (ie: vaccum).
Regards,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
`````````````````````````````````````````````
Silvio Emanuel Nunes Barbosa de Macedo
mailto:smacedo@inescn.pt
INESC - Porto - Grupo CAV
Pc da Republica, 93 R/C Tel:351 2 209 42 21
4000 PORTO PORTUGAL Fax:351 2 208 41 72
Attachments:
postgresqltext/plain; charset=US-ASCII; name=postgresqlDownload
Import Notes
Resolved by subject fallback
Bernhard Krick wrote in message ...
how to start postmaster at system boot on linux?
please can anyone tell me which files i have to change step by step.
Create an entry in your /etc/rc3.d directory consisting of a symbolic
link to a startup script that you create for this purpose. Mine just
consists of a line
/bin/su postgres -c "/usr/local/pgsql/bin/postmaster -S -i -D
/local/db0"
that simple...
Import Notes
Resolved by subject fallback