From bf8406bd82605d2489e49a84910c963d2e084e68 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Thu, 8 Aug 2019 22:11:38 +0200 Subject: [PATCH] Prevent endless restarting of update-htaccess.sh In version 14 beta there was a bug which let the htaccess fail. Unfortunately supervisord restarted the script in case of an error which led to it being endlessly restarted. To prevent this and similar update issues in the future, we let the update-script exit with code 0 even if there's an error. --- webservice/update-htaccess.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webservice/update-htaccess.sh b/webservice/update-htaccess.sh index c8c814c..0ebfe11 100644 --- a/webservice/update-htaccess.sh +++ b/webservice/update-htaccess.sh @@ -4,3 +4,5 @@ cd /var/www/html sudo -u www-data php occ maintenance:update:htaccess + +exit 0