php-fpm.sh 180 B

123456789
  1. #!/bin/bash
  2. set -e
  3. sed -i 's/^listen = .*/listen = 9000/g' /etc/php/$1/fpm/pool.d/www.conf
  4. /usr/sbin/php-fpm${1} --nodaemonize --fpm-config /etc/php/$1/fpm/php-fpm.conf
  5. exit 0