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-10-18 11:26:15.000000000 -0400 |
3 |
|
|
+++ mezzanine_patched_smeserver-postgresql-0.0.1/createlinks 2006-10-18 11:25:52.000000000 -0400 |
4 |
|
|
@@ -20,11 +20,13 @@ |
5 |
|
|
|
6 |
|
|
# When we do a restore, we want to start from a completely clean slate |
7 |
|
|
$event = "pre-restore"; |
8 |
|
|
- |
9 |
|
|
safe_symlink("stop", "root/etc/e-smith/events/$event/services2adjust/pgsqld"); |
10 |
|
|
# Needs to be after shutdown of pgsqld |
11 |
|
|
event_link("pgsql-delete-db-files", $event, "99"); |
12 |
|
|
|
13 |
|
|
+# Now we set up pgsql.init script for restore after reboot |
14 |
|
|
+templates2events("/etc/e-smith/pgsql/init/00_restore_backup", $event); |
15 |
|
|
+ |
16 |
|
|
#-------------------------------------------------- |
17 |
|
|
# actions for bootstrap-console-save event |
18 |
|
|
#-------------------------------------------------- |