1 |
slords |
1.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 \ |