diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-12-16 13:34:03 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-12-16 13:34:03 +0100 |
commit | feb84ed4ed3aec1d56dd447f1041b8f86c6c9f2b (patch) | |
tree | 7d531715d65c8908f9bb945c505114b10af9b6f9 | |
parent | 098409c7e36c0e2b19199a678c4d5237016253ca (diff) |
fpm: fix socket path
-rw-r--r-- | php.spec | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1262,11 +1262,11 @@ sed -e '/php-fpm.pid/s:/var:%{_localstatedir}:' \ %if %{with_httpd2410} # Switch to UDS # FPM -sed -e 's@127.0.0.1:9000@/run/php-fpm/www.sock@' \ +sed -e 's@127.0.0.1:9000@%{_localstatedir}/run/php-fpm/www.sock@' \ -e 's@^;listen.acl_users@listen.acl_users@' \ -i $RPM_BUILD_ROOT%{_sysconfdir}/php-fpm.d/www.conf # Apache -sed -e 's@proxy:fcgi://127.0.0.1:9000@proxy:unix:/run/php-fpm/www.sock|fcgi://localhost@' \ +sed -e 's@proxy:fcgi://127.0.0.1:9000@proxy:unix:%{_localstatedir}/run/php-fpm/www.sock|fcgi://localhost@' \ -i $RPM_BUILD_ROOT%{_httpd_confdir}/%{name}.conf %endif |