commit a435f21b14a7411a42e5722f579ad96403fee24d
Author: Elan Ruusamäe <[email protected]>
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 3352d16..3f61b1b 100644
--- a/php.spec
+++ b/php.spec
@@ -537,6 +537,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(fcgi)
 Provides:      php(fpm)
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/a435f21b14a7411a42e5722f579ad96403fee24d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to