From 90b0ba2114c9d505235dc5bf5b9fbe71b4565dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi> Date: Tue, 8 Mar 2016 06:23:20 +0000 Subject: [PATCH] testing/php7: add missing changes from previous commit --- testing/php7/APKBUILD | 2 +- testing/php7/php7-fpm.logrotate | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 testing/php7/php7-fpm.logrotate diff --git a/testing/php7/APKBUILD b/testing/php7/APKBUILD index 597d1874f81d..8a56b5d8d37c 100644 --- a/testing/php7/APKBUILD +++ b/testing/php7/APKBUILD @@ -148,7 +148,7 @@ _build() { --with-ldap=shared --with-ldap-sasl \ --enable-mbstring=shared --enable-mbregex --with-libmbfl \ --with-mcrypt=shared \ - --with-sqlite3=shared --with-pdo-sqlite=shared \ + --with-sqlite3=shared,/usr --with-pdo-sqlite=shared,/usr \ --with-pdo-dblib=shared \ --with-mysqli=shared,/usr/bin/mysql_config \ --enable-mysqlnd=shared --with-pdo-mysql=shared,/usr/bin/mysql_config --with-mysql-sock=/run/mysqld/mysqld.sock \ diff --git a/testing/php7/php7-fpm.logrotate b/testing/php7/php7-fpm.logrotate new file mode 100644 index 000000000000..10e53e46832a --- /dev/null +++ b/testing/php7/php7-fpm.logrotate @@ -0,0 +1,13 @@ +/var/log/php7/*.log { + rotate 7 + daily + missingok + notifempty + delaycompress + compress + dateext + sharedscripts + postrotate + /etc/init.d/php-fpm7 --ifstarted --quiet reopen + endscript +} -- GitLab