]> git.pld-linux.org Git - packages/php.git/commit - php-fpm.init
use /var/run for fpm pid files
authorElan Ruusamäe <glen@delfi.ee>
Thu, 17 Jan 2013 14:37:44 +0000 (16:37 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 17 Jan 2013 14:41:42 +0000 (16:41 +0200)
commit1ffcc879e736bb8ad1a8adc1b8efd9e43a27cb7f
tree932e26b4537f33d39b78dcfdf7b8e18711e87b24
parent1d73068495801ce3d52f14bd9c0710d5b7df00c9
use /var/run for fpm pid files

currently /var/run/php is cleaned up by php session cleanup script
which cleans up everything in that dir, not only php session files

so as consequence this removes php-fpm pidfiles and service restart
remains confused what to stop.

php-wsdl cache files get nuked by the same problem, so those could be
moved to /var/cache/php, so they could survive reboots

probably it's wrong to have /var/run/php as php-session storage (note
the generic namem it's not /var/run/php/sessions etc), but changing that
would need more efforts, as need to support old and new configuration,
and each php sapi could have different config (they have different
php.ini (or equivalent) files)
php-fpm-config.patch
php-fpm.init
php-fpm.logrotate
This page took 0.889136 seconds and 4 git commands to generate.