[packages/php] keep fpm log in /var/log/php

glen glen at pld-linux.org
Sun Jan 13 17:23:32 CET 2013


commit 5252d933fde3d0b061807348e86743ef59414a20
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 b1bf547..03a1c55 100644
--- a/php.spec
+++ b/php.spec
@@ -503,7 +503,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
 %if "%{pld_release}" == "ac"
diff --git a/php-fpm-config.patch b/php-fpm-config.patch
index c7502da..093f381 100644
--- a/php-fpm-config.patch
+++ b/php-fpm-config.patch
@@ -27,7 +27,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/5252d933fde3d0b061807348e86743ef59414a20



More information about the pld-cvs-commit mailing list