Commit 6326b756 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #366 in ZP/z-push from...

Merge pull request #366 in ZP/z-push from bugfix/ZP-1044-wrong-create-user-in-logrotate-conf to develop

* commit 'e19f8b6b':
  ZP-1044 add separate logrotate file for rhel/rpm. Released under the Affero GNU General Public License (AGPL) version 3.
parents 02f05d29 e19f8b6b
...@@ -267,8 +267,8 @@ ln -s "%zpush_dir/z-push-top.php" "$b/%_bindir/z-push-top"; ...@@ -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/lib/z-push";
mkdir -p "$b/%_localstatedir/log/z-push"; mkdir -p "$b/%_localstatedir/log/z-push";
mkdir -p "$b/%_sysconfdir/logrotate.d"; mkdir -p "$b/%_sysconfdir/logrotate.d";
install -Dpm 644 config/z-push.lr \ install -Dpm 644 config/z-push-rhel.lr \
"$b/%_sysconfdir/logrotate.d/" "$b/%_sysconfdir/logrotate.d/z-push.lr"
# CALDAV # CALDAV
mv "$bdir/caldav/config.php" "$cdir/caldav.conf.php"; 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