From eb50f99bdd67cc9d1ea59c0f8bd10aec1e81c007 Mon Sep 17 00:00:00 2001 From: MeaTLoTioN Date: Sat, 19 Mar 2022 10:55:03 +0000 Subject: [PATCH] add logrotate configuration for the log file --- logrotate.d/twitupd | 9 +++++++++ twitupd.sh | 0 2 files changed, 9 insertions(+) create mode 100644 logrotate.d/twitupd mode change 100644 => 100755 twitupd.sh diff --git a/logrotate.d/twitupd b/logrotate.d/twitupd new file mode 100644 index 0000000..114339e --- /dev/null +++ b/logrotate.d/twitupd @@ -0,0 +1,9 @@ +/mystic/log/twitupd.log { + daily + rotate 7 + compress + delaycompress + missingok + notifempty + create 644 root root +} diff --git a/twitupd.sh b/twitupd.sh old mode 100644 new mode 100755