add logrotate configuration for the log file

This commit is contained in:
MeaTLoTioN 2022-03-19 10:55:03 +00:00
parent 6017422529
commit eb50f99bdd
2 changed files with 9 additions and 0 deletions

9
logrotate.d/twitupd Normal file
View File

@ -0,0 +1,9 @@
/mystic/log/twitupd.log {
daily
rotate 7
compress
delaycompress
missingok
notifempty
create 644 root root
}

0
twitupd.sh Normal file → Executable file
View File