[packages/php/PHP_5_5] keep fpm log in /var/log/php
glen
glen at pld-linux.org
Sun Jan 13 17:23:42 CET 2013
commit 3263298d58dcf7b7b8d1769e5a92c22334560df7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jan 13 18:21:10 2013 +0200
keep fpm log in /var/log/php
php-fpm-config.patch | 2 +-
php.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index c9721ec..c306f98 100644
--- a/php.spec
+++ b/php.spec
@@ -517,7 +517,7 @@ Group: Libraries
Requires(post): sed >= 4.0
# because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
Requires: glibc >= 6:2.3.5
-Requires: php-dirs
+Requires: php-dirs >= 1.3
Requires: rpm-whiteout >= 1.28
Requires: tzdata
Provides: %{name}(debug) = %{php_debug}
diff --git a/php-fpm-config.patch b/php-fpm-config.patch
index 2a59607..ee7427b 100644
--- a/php-fpm-config.patch
+++ b/php-fpm-config.patch
@@ -22,7 +22,7 @@
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
; Default Value: log/php-fpm.log
-;error_log = log/php-fpm.log
-+error_log = log/@processname at .log
++error_log = /var/log/php/@processname at .log
; syslog_facility is used to specify what type of program is logging the
; message. This lets syslogd specify that messages from different facilities
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/3263298d58dcf7b7b8d1769e5a92c22334560df7
More information about the pld-cvs-commit
mailing list