ZP-1044 add separate logrotate file for rhel/rpm. Released under the Affero...

ZP-1044 add separate logrotate file for rhel/rpm. Released under the Affero GNU General Public License (AGPL) version 3.
parent fb12c9f5
......@@ -267,8 +267,8 @@ ln -s "%zpush_dir/z-push-top.php" "$b/%_bindir/z-push-top";
mkdir -p "$b/%_localstatedir/lib/z-push";
mkdir -p "$b/%_localstatedir/log/z-push";
mkdir -p "$b/%_sysconfdir/logrotate.d";
install -Dpm 644 config/z-push.lr \
"$b/%_sysconfdir/logrotate.d/"
install -Dpm 644 config/z-push-rhel.lr \
"$b/%_sysconfdir/logrotate.d/z-push.lr"
# CALDAV
mv "$bdir/caldav/config.php" "$cdir/caldav.conf.php";
......
/var/log/z-push/*.log {
size 1k
create apache apache
compress
rotate 4
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment