/[smecontribs]/rpms/smeserver-postgresql/contribs8/smeserver-postgresql-0.0.1.startup.patch
ViewVC logotype

Contents of /rpms/smeserver-postgresql/contribs8/smeserver-postgresql-0.0.1.startup.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Mar 3 21:52:45 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-postgresql-0_0_1-24_el5_sme, HEAD
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/createlinks mezzanine_patched_smeserver-postgresql-0.0.1/createlinks
2 --- smeserver-postgresql-0.0.1/createlinks 2006-09-14 11:35:44.000000000 -0400
3 +++ mezzanine_patched_smeserver-postgresql-0.0.1/createlinks 2006-09-14 11:06:16.000000000 -0400
4 @@ -29,10 +29,6 @@
5 # actions for bootstrap-console-save event
6 #--------------------------------------------------
7 $event = "bootstrap-console-save";
8 -foreach (qw(pg_hba.conf postgresql.conf))
9 -{
10 - templates2events("/var/lib/pgsql/data/$_", $event);
11 -}
12
13 #--------------------------------------------------
14 # actions for timezone-update event
15 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
16 --- smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-09-14 11:35:44.000000000 -0400
17 +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/var/service/postgresql/run 2006-09-14 11:35:19.000000000 -0400
18 @@ -13,6 +13,9 @@
19 echo "*** Initialising postgresql in data directory ${DATA}"
20 chpst -u postgres /usr/bin/initdb --pgdata=${DATA}
21 fi
22 +echo "*** Generating postgresql configuration files"
23 +/sbin/e-smith/expand-template ${DATA}/postgresql.conf
24 +/sbin/e-smith/expand-template ${DATA}/pg_hba.conf
25 echo "*** Starting postgresql on data ${DATA}"
26 exec \
27 chpst -u postgres \

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed