Also delete compressed stale actionrunner logs
@@ -105,7 +105,7 @@ notifempty
postrotate
# Delete all files that haven't been modified in over 30 days
# Clean up stale PID logs
- find /var/log/st2/ -type f -name "st2actionrunner*.log" -mtime +30 -exec rm -f {} \;
+ find /var/log/st2/ -type f -name "st2actionrunner*.log*" -mtime +30 -exec rm -f {} \;
st2ctl reopen-log-files st2actionrunner > /dev/null
endscript
}
