dotdeb-php
dotdeb-php copied to clipboard
--nodaemonize in php-fpm init script breaks logging
The init script is using
exec /usr/sbin/php5-fpm --nodaemonize --fpm-config /etc/php5/fpm/php-fpm.conf
When you run php5-fpm with --nodaemonize its logging goes to standard out, which makes setting the log locatio in the php-fpm.conf worthless.
The upstart config also is missing a ton of functionality compared to the init script from upstream, graceful stop etc, and if you run reload it just breaks fpm. The current state is painfully broken.