logrotate.cfg aktualisiert

This commit is contained in:
alf
2025-09-04 12:15:01 +00:00
parent b7fc01d677
commit c649961d84

View File

@ -1,4 +1,4 @@
/root/log.txt {
/root/Logs/*.log {
monthly
rotate 3
compress
@ -7,6 +7,6 @@
copytruncate
dateext
postrotate
echo "$(date) Logrotate (log.txt) hat stattgefunden! ERR: $?" >>/root/log.txt
echo "$(date) Logrotate (log.txt) hat stattgefunden! ERR: $?" >>/root/Logs/log.log
endscript
}