From e8ad06b7e7b93ddc9820aa21e9a6f09c47a7dc61 Mon Sep 17 00:00:00 2001 From: MeaTLoTioN Date: Sat, 19 Mar 2022 10:56:52 +0000 Subject: [PATCH] add to README.md about logrotate config --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3a09227..61b7471 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,7 @@ using crontab, you could set it up thus; ``` 0 0 * * * /mystic/scripts/twitupd.sh && logger -t "mystic_twitupd.sh" "[crontab] blacklist.txt updated" ``` + +## recommended logrotate config +in the directory `logrotate.d` there's a file called twitupd which is a suggested basic log rotation config +if you change the mystic dirs in the main twitupd.sh, make sure to change the log file location in the logrotate.d config too