Browse Source

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.
pull/1/head
madmaurice 2 years ago
committed by root
parent
commit
bf8406bd82
  1. 2
      webservice/update-htaccess.sh

2
webservice/update-htaccess.sh

@ -4,3 +4,5 @@
cd /var/www/html
sudo -u www-data php occ maintenance:update:htaccess
exit 0
Loading…
Cancel
Save