Skip to content

Commit 95dd645

Browse files
committed
sysstat change
1 parent 760130c commit 95dd645

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/91-log_cleanup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ echo "Clearing all log files"
55
rm -rf /var/log/*
66

77
# creating system stats directory
8+
service sysstat stop
9+
rm -rf /var/log/sysstat
810
mkdir /var/log/sysstat
11+
service sysstat start
912

1013
# https://github.com/fail2ban/fail2ban/issues/1593
1114
touch /var/log/auth.log

0 commit comments

Comments
 (0)