systemd: journald: decrease SystemMaxUse/RuntimeMaxUse

This commit is contained in:
Stefan Saraev 2013-11-29 20:24:37 +02:00
parent fa140654d7
commit f15babf922

View File

@ -119,6 +119,8 @@ post_makeinstall_target() {
sed -e "s,^.*Compress=.*$,Compress=no,g" -i $INSTALL/etc/systemd/journald.conf sed -e "s,^.*Compress=.*$,Compress=no,g" -i $INSTALL/etc/systemd/journald.conf
sed -e "s,^.*SplitMode=.*$,SplitMode=none,g" -i $INSTALL/etc/systemd/journald.conf sed -e "s,^.*SplitMode=.*$,SplitMode=none,g" -i $INSTALL/etc/systemd/journald.conf
sed -e "s,^.*MaxRetentionSec=.*$,MaxRetentionSec=1week,g" -i $INSTALL/etc/systemd/journald.conf sed -e "s,^.*MaxRetentionSec=.*$,MaxRetentionSec=1week,g" -i $INSTALL/etc/systemd/journald.conf
sed -e "s,^.*RuntimeMaxUse=.*$,RuntimeMaxUse=2M,g" -i $INSTALL/etc/systemd/journald.conf
sed -e "s,^.*SystemMaxUse=.*$,SystemMaxUse=20M,g" -i $INSTALL/etc/systemd/journald.conf
# replace systemd-machine-id-setup with ours # replace systemd-machine-id-setup with ours
mkdir -p $INSTALL/bin mkdir -p $INSTALL/bin