diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index d6c137398b..6ba029e861 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -522,6 +522,9 @@ rm -f results # Calculate the values of PHP-FPM based on the amount of RAM available (minimum 2 GB or 8 children) calculate_php_fpm +# Run again if values are reset on last run +calculate_php_fpm + # Add temporary fix if needed bash $SCRIPTS/temporary-fix.sh rm "$SCRIPTS"/temporary-fix.sh diff --git a/static/temporary-fix.sh b/static/temporary-fix.sh index c375d59be0..5d08b4f392 100644 --- a/static/temporary-fix.sh +++ b/static/temporary-fix.sh @@ -13,6 +13,4 @@ true DEBUG=0 debug_mode -caulculate_php_fpm - exit