diff --git a/setup/zpush.sh b/setup/zpush.sh index 7ecfa0c6..b95a59ee 100755 --- a/setup/zpush.sh +++ b/setup/zpush.sh @@ -75,6 +75,19 @@ chmod 750 /var/lib/z-push chown www-data:www-data /var/log/z-push chown www-data:www-data /var/lib/z-push +# Add log rotation + +cat > /etc/logrotate.d/z-push <