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"