Valentin Gehrke
bf8406bd82
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.
8 lines
143 B
Bash
8 lines
143 B
Bash
#!/bin/bash
|
|
|
|
[ -f "/var/www/html/config/config.php" ] || exit 0
|
|
|
|
cd /var/www/html
|
|
sudo -u www-data php occ maintenance:update:htaccess
|
|
|
|
exit 0
|