Skip to content

Commit 426b8e3

Browse files
authored
fix calculate_php_fpm (#783)
1 parent c6ef2f7 commit 426b8e3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nextcloud-startup-script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,9 @@ rm -f results
522522
# Calculate the values of PHP-FPM based on the amount of RAM available (minimum 2 GB or 8 children)
523523
calculate_php_fpm
524524

525+
# Run again if values are reset on last run
526+
calculate_php_fpm
527+
525528
# Add temporary fix if needed
526529
bash $SCRIPTS/temporary-fix.sh
527530
rm "$SCRIPTS"/temporary-fix.sh

static/temporary-fix.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ true
1313
DEBUG=0
1414
debug_mode
1515

16-
caulculate_php_fpm
17-
1816
exit

0 commit comments

Comments
 (0)