dockerfiles/bookworm_php8/start-fpm.sh

12 lines
254 B
Bash
Raw Normal View History

2022-11-15 07:57:06 +01:00
#!/bin/sh
set -e
sed "s/@user@/${FPM_USER}/g; s/@variant@/${FPM_VARIANT}/g" \
< /usr/local/etc/fpm-pool.conf.tmpl \
2023-09-19 13:52:01 +02:00
> "/etc/php/8.2/fpm/pool.d/${FPM_USER}.conf"
2022-11-15 07:57:06 +01:00
/etc/init.d/nullmailer start
mkdir -p /run/php
2023-09-19 13:52:01 +02:00
/usr/sbin/php-fpm8.2 --nodaemonize