Disable reForis when it is being updated
It is probably not a good idea to keep users browsing while the update is in the progress. We should rather temporally disable reForis and provide only a minimal stable page. This applies most probably for core reforis and foris-controller packages but the list might be even bigger.
The backend implementation can be based on pre and post-update hooks updater executes (/etc/updater/hook_*
). The missing feature is how to detect which packages are about to be updated but that is part of turris/updater/updater#308 (closed). The current possible replacement is mentioned tasklog that is read by updater-supervisor. This should note somewhere that an update of reForis is in progress and that the landing page should be displayed instead.