[packages/php/PHP_5_5] store fpm logs to /var/log/archive/php
glen
glen at pld-linux.org
Mon Aug 1 13:57:40 CEST 2016
commit d79f8108d93f30172f6b9c30075e94867e1ac8f6
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 5c02dc6..6da5c1c 100644
--- a/php.spec
+++ b/php.spec
@@ -499,6 +499,7 @@ Requires(pre): /bin/id
Requires(pre): /usr/sbin/useradd
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: rc-scripts
+Requires: php-dirs >= 1.4-2
Provides: php(fpm)
Provides: user(http)
Provides: webserver(php) = %{version}
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/d79f8108d93f30172f6b9c30075e94867e1ac8f6
More information about the pld-cvs-commit
mailing list