/[smecontribs]/rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.restore.patch4
ViewVC logotype

Annotation of /rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.restore.patch4

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


Revision 1.3 - (hide annotations) (download)
Tue Nov 25 16:20:28 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

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     #--------------------------------------------------

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