dockerfiles/jessie_php5/start-fpm.sh
Jan Dittberner 5b73173912 Implement support for multiple PHP versions
This commit provides docker images and scripts to support multiple
Debian and PHP releases via containers.
2018-11-11 14:02:05 +01:00

10 lines
231 B
Bash
Executable file

#!/bin/sh
set -e
sed "s/@user@/${FPM_USER}/g; s/@variant@/${FPM_VARIANT}/g" \
< /usr/local/etc/fpm-pool.conf.tmpl \
> "/etc/php5/fpm/pool.d/${FPM_USER}.conf"
/etc/init.d/nullmailer start
/usr/sbin/php5-fpm --nodaemonize