Skip to content

Commit

Permalink
fix calculate_php_fpm (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Feb 8, 2019
1 parent c6ef2f7 commit 426b8e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nextcloud-startup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions static/temporary-fix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ true
DEBUG=0
debug_mode

caulculate_php_fpm

exit

0 comments on commit 426b8e3

Please sign in to comment.