From cd4ea758209c24a506fb80df8a5f16d25af19ae7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 5 Jun 2023 12:33:00 +0200 Subject: [PATCH] backend: add new "upgrade" facility and clarifications --- source/development/backend/autorun.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/development/backend/autorun.rst b/source/development/backend/autorun.rst index 79996e5d..e7b53341 100644 --- a/source/development/backend/autorun.rst +++ b/source/development/backend/autorun.rst @@ -35,13 +35,15 @@ They can contain any executable file (e.g. shell scripts) in the following subdi - early - start script before system network startup - monitor - - scripts handling gateway monitoring events + - scripts handling gateway monitoring alerts - start - start script after system network startup - stop - stop script before normal system shutdown - update - - update script after core package update + - update script after core package update (post-update) +- upgrade + - upgrade script migration tool for major upgrade (pre-upgrade) File names can use a number prefix "XX-" to retain a particular order. "20-" is typically used for core scripts, while "50-" is used for plugins.