dotdeb-php icon indicating copy to clipboard operation
dotdeb-php copied to clipboard

--nodaemonize in php-fpm init script breaks logging

Open jeichorn opened this issue 11 years ago • 1 comments

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.

jeichorn avatar Dec 06 '13 21:12 jeichorn

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.

jeichorn avatar Dec 16 '13 18:12 jeichorn