1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 10:31:34 -05:00

Update install.sh

This commit is contained in:
Tommy 2021-11-01 23:46:59 -04:00 committed by GitHub
parent b2a9a8ffaf
commit bd22a1740a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -620,12 +620,15 @@ php_config(){
output "Configuring PHP socket..." output "Configuring PHP socket..."
bash -c 'cat > /etc/php-fpm.d/www-pterodactyl.conf' <<-'EOF' bash -c 'cat > /etc/php-fpm.d/www-pterodactyl.conf' <<-'EOF'
[pterodactyl] [pterodactyl]
user = nginx user = nginx
group = nginx group = nginx
listen = /var/run/php-fpm/pterodactyl.sock listen = /var/run/php-fpm/pterodactyl.sock
listen.owner = nginx listen.owner = nginx
listen.group = nginx listen.group = nginx
listen.mode = 0750 listen.mode = 0750
pm = ondemand pm = ondemand
pm.max_children = 9 pm.max_children = 9
pm.process_idle_timeout = 10s pm.process_idle_timeout = 10s