[packages/php/PHP_5_4] store fpm logs to /var/log/archive/php
glen
glen at pld-linux.org
Mon Aug 1 13:59:24 CEST 2016
commit 7ce7a6065ba9b3474f7aca57ad106a8f2c828a51
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Aug 1 14:57:24 2016 +0300
store fpm logs to /var/log/archive/php
php-fpm.logrotate | 1 +
php.spec | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/php.spec b/php.spec
index 741fcaf..9de6ac7 100644
--- a/php.spec
+++ b/php.spec
@@ -505,6 +505,7 @@ Requires(postun): /usr/sbin/userdel
Requires(pre): /bin/id
Requires(pre): /usr/sbin/useradd
Requires: %{name}-common = %{epoch}:%{version}-%{release}
+Requires: php-dirs >= 1.4-2
Requires: rc-scripts
Provides: php(fpm)
Provides: user(http)
diff --git a/php-fpm.logrotate b/php-fpm.logrotate
index 3e4c230..f6d1c52 100644
--- a/php-fpm.logrotate
+++ b/php-fpm.logrotate
@@ -4,6 +4,7 @@
notifempty
missingok
create 600 root root
+ olddir /var/log/archive/php
sharedscripts
postrotate
/sbin/service @processname@ flush-logs > /dev/null
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/7ce7a6065ba9b3474f7aca57ad106a8f2c828a51
More information about the pld-cvs-commit
mailing list