CC-4119: zendphp.log is not rotated

-fixed
This commit is contained in:
Martin Konecny 2012-08-20 16:05:25 -04:00
parent f6a4732e87
commit f3f9ef80ff
2 changed files with 3 additions and 5 deletions

View File

@ -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
}

View File

@ -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"