[global]
error_log = /tmp/php80-fpm.error.log
daemonize = no
log_limit = 49152

[www]
env[LOCALE_ARCHIVE] = /usr/lib/locale/locale-archive
listen = /run/user/{{ .chezmoi.gid }}/php80-fpm/fpm.sock

pm = ondemand
pm.max_children = 30
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 15

pm.status_path = /fpm-status
pm.status_listen = /run/user/{{ .chezmoi.gid }}/php80-fpm/status.sock

access.log = /dev/stdout
access.format = "%R - %u %t \"%m %r\" %s %d"
request_terminate_timeout = 0

catch_workers_output = yes
decorate_workers_output = no

php_admin_value[error_log] = /dev/stderr
;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M
php_admin_value[sendmail_path] = {{ .chezmoi.homeDir }}/bin/pipemail
php_admin_value[sys_temp_dir] = {{ .chezmoi.homeDir }}/jopixel/webserver/temp
