Skip to content

Commit 1274413

Browse files
supaPatrickdarora
authored andcommitted
creating sysstat directory after it gets deleted by script
1 parent ef089c2 commit 1274413

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/91-log_cleanup.sh

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
echo "Clearing all log files"
55
rm -rf /var/log/*
66

7+
# creating system stats directory
8+
mkdir /var/log/sysstat
9+
710
# https://github.com/fail2ban/fail2ban/issues/1593
811
touch /var/log/auth.log
912

0 commit comments

Comments
 (0)