From f3f9ef80ff565a9d6d35bc14242f629eb3ca9e5f Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Mon, 20 Aug 2012 16:05:25 -0400 Subject: [PATCH] CC-4119: zendphp.log is not rotated -fixed --- airtime_mvc/build/airtime-php.logrotate | 3 +-- install_minimal/include/airtime-copy-files.sh | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/airtime_mvc/build/airtime-php.logrotate b/airtime_mvc/build/airtime-php.logrotate index 167b85df1..6154e508e 100644 --- a/airtime_mvc/build/airtime-php.logrotate +++ b/airtime_mvc/build/airtime-php.logrotate @@ -6,7 +6,6 @@ notifempty sharedscripts postrotate - touch /var/log/airtime/zendphp.log - chown www-data:www-data /var/log/airtime/zendphp.log + chown www-data:www-data /var/log/airtime/ endscript } diff --git a/install_minimal/include/airtime-copy-files.sh b/install_minimal/include/airtime-copy-files.sh index 7d6a01dc2..e839cdeff 100755 --- a/install_minimal/include/airtime-copy-files.sh +++ b/install_minimal/include/airtime-copy-files.sh @@ -88,9 +88,8 @@ ln -sf /usr/lib/airtime/utils/airtime-test-stream /usr/bin/airtime-test-stream echo "* Creating /var/log/airtime" mkdir -p /var/log/airtime chmod a+x /var/log/airtime -touch /var/log/airtime/zendphp.log -chown www-data:www-data /var/log/airtime/zendphp.log -chmod 644 /var/log/airtime/zendphp.log +chown www-data:www-data /var/log/airtime/ + if [ "$web" = "t" ]; then echo "* Creating /usr/share/airtime"