diff --git a/startup.sh b/startup.sh index 113f1f2..00be7ef 100644 --- a/startup.sh +++ b/startup.sh @@ -18,6 +18,10 @@ sleep 1 chmod -R 755 /var/www/html/db/ chown -R www-data:www-data /var/www/html/db/ +# Change permissions on the logos directory +chmod -R 755 /var/www/html/images/uploads/logos +chown -R www-data:www-data /var/www/html/images/uploads/logos + # Run updatenextpayment.php and wait for it to finish /usr/local/bin/php /var/www/html/endpoints/cronjobs/updatenextpayment.php