diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/createlinks mezzanine_patched_smeserver-postgresql-0.0.1/createlinks --- smeserver-postgresql-0.0.1/createlinks 2006-09-14 11:35:44.000000000 -0400 +++ mezzanine_patched_smeserver-postgresql-0.0.1/createlinks 2006-09-14 11:06:16.000000000 -0400 @@ -29,10 +29,6 @@ # actions for bootstrap-console-save event #-------------------------------------------------- $event = "bootstrap-console-save"; -foreach (qw(pg_hba.conf postgresql.conf)) -{ - templates2events("/var/lib/pgsql/data/$_", $event); -} #-------------------------------------------------- # actions for timezone-update event diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/var/service/postgresql/run mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run --- smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-09-14 11:35:44.000000000 -0400 +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-09-14 11:35:19.000000000 -0400 @@ -13,6 +13,9 @@ echo "*** Initialising postgresql in data directory ${DATA}" chpst -u postgres /usr/bin/initdb --pgdata=${DATA} fi +echo "*** Generating postgresql configuration files" +/sbin/e-smith/expand-template ${DATA}/postgresql.conf +/sbin/e-smith/expand-template ${DATA}/pg_hba.conf echo "*** Starting postgresql on data ${DATA}" exec \ chpst -u postgres \