|
1. If we stick with the separate data partition which
|
|
i think is quite ok, we should be nice enough to create
|
|
a symlinc between the place where postgresql expects
|
|
to find its files (/var/opt/postgresql/data) and the actual
|
|
/data partition.
|
|
2. We should try to initialize the db cluster after install
|
|
issuing an `initdb -D /var/opt/postgresql/data` command
|
|
with user postgres. Since we have some env variables maybe
|
|
the `-D blah blah blah` is redundant, but it cannot hurt to be safe
|
|
|
|
3. We might want to add a `-i -o -e` ending to the line that
|
|
starts the postgresql daemon meaning `i want inet connections
|
|
and please use european date formats`. Although PG guys advise
|
|
to use the new way to tel pg that (postmaster.opts or so), I
|
|
stick with the old way if possible. Anyway the `-o -e` must go
|
|
to the run line.
|
|
|
|
|
|
|