dockerfiles/bullseye_php7/start-fpm.sh

12 lines
254 B
Bash
Raw Normal View History

2020-02-08 22:13:52 +01:00
#!/bin/sh
set -e
sed "s/@user@/${FPM_USER}/g; s/@variant@/${FPM_VARIANT}/g" \
< /usr/local/etc/fpm-pool.conf.tmpl \
2020-10-31 18:06:14 +01:00
> "/etc/php/7.4/fpm/pool.d/${FPM_USER}.conf"
2020-02-08 22:13:52 +01:00
/etc/init.d/nullmailer start
mkdir -p /run/php
2020-10-31 18:06:14 +01:00
/usr/sbin/php-fpm7.4 --nodaemonize