From c28065cc56ca270336c290934c496db79891ffda Mon Sep 17 00:00:00 2001 From: yodax Date: Tue, 17 Nov 2015 09:27:05 -0500 Subject: [PATCH] Add log rotation to z-push --- setup/zpush.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 <