[packages/php/PHP_5_4] keep fpm log in /var/log/php
glen
glen at pld-linux.org
Sun Jan 13 17:23:56 CET 2013
commit 1d73068495801ce3d52f14bd9c0710d5b7df00c9
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 f7df382..88450ac 100644
--- a/php.spec
+++ b/php.spec
@@ -514,7 +514,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/1d73068495801ce3d52f14bd9c0710d5b7df00c9
More information about the pld-cvs-commit
mailing list