From 0360a0ef901659b7a63ba9fcdf70883b8f098e72 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 18 Dec 2020 17:50:37 +0100 Subject: global-functions: $ScriptInstallUpdate: implement migration mechanism Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate to test... :set SentConfigChangesNotification $ScriptInstallUpdate --- global-config.changes | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'global-config.changes') diff --git a/global-config.changes b/global-config.changes index 3c06553..2d53160 100644 --- a/global-config.changes +++ b/global-config.changes @@ -44,4 +44,10 @@ 38="Imported new Let's Encrypt intermediate certificate 'R3'."; 39="Added support for interface specific address list entries in 'ipv6-update'."; 40="Made the certificate renewal time configurable."; + 41="Implemented migration mechanism for script updates."; +}; + +# Migration steps to be applied on script updates +:global GlobalConfigMigration { + 41=":global SendNotification; \$SendNotification (\"Migration mechanism\") (\"Congratulations!\nSuccessfully tested the new migration mechanism.\");"; }; -- cgit v1.2.3-70-g09d2