Req #54172 [Opn->Asn]: Overriding the pid file location of php-fpm
| From: | fat@php.net | Date: | Sat, 02 Jul 2011 17:38:56 +0000 |
| Subject: | Req #54172 [Opn->Asn]: Overriding the pid file location of php-fpm | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161505@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54172&edit=1
ID: 54172
Updated by: fat@php.net
Reported by: olemarkus at gentoo dot org
Summary: Overriding the pid file location of php-fpm
-Status: Open
+Status: Assigned
Type: Feature/Change Request
Package: FPM related
PHP Version: 5.3.5
-Assigned To:
+Assigned To: fat
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-03-06 10:18:42] olemarkus at gentoo dot org
Description:
------------
After Gentoo added FPM support, one of the most-reported issues we have related to FPM is to make
sure the PID file location in the FPM configuration and the one in the init script match each other.
Currently we set a fixed pid location in the config file and the init script expects that this
config is not changed. If a user change the pid file location, the init script stops working. The
only alternative solution I have seen so far is to use to try to grep the pid location from the
config, but at least the attempt done by the dotdeb maintainer to do this did not work very well.
It would be nice if an argument could be added to the php-fpm binary allowing init-scripts to
specify the pid file location directly, overriding any location configured in the FPM configuration
file.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54172&edit=1