summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-05 11:00:28 +0200
committerSimon Rettberg2018-04-05 11:00:28 +0200
commit941e04f5390029a556bcbd7d2c6179dbe567805e (patch)
tree7ecadcae68e129d62326d6dc6de851987412a351 /scripts
parent[RemoteReboot] Switched from the jcabi-ssh library to the jsch library. (diff)
downloadtmlite-bwlp-941e04f5390029a556bcbd7d2c6179dbe567805e.tar.gz
tmlite-bwlp-941e04f5390029a556bcbd7d2c6179dbe567805e.tar.xz
tmlite-bwlp-941e04f5390029a556bcbd7d2c6179dbe567805e.zip
[system-restore] Sync HTTPS redirect state with DB setting
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/system-restore3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/system-restore b/scripts/system-restore
index b23a613..ebc2f23 100755
--- a/scripts/system-restore
+++ b/scripts/system-restore
@@ -152,6 +152,9 @@ if [ $RES_OPENSLX -eq 1 ]; then
fi
+# Sync redirect flag file with setting stored in DB
+/opt/taskmanager/scripts/install-https --redirect --redirect-only
+
rm -rf -- "$DIR"
rm -f -- "$BACKUP"