logrotate.cfg aktualisiert
This commit is contained in:
@ -7,6 +7,7 @@
|
|||||||
copytruncate
|
copytruncate
|
||||||
dateext
|
dateext
|
||||||
postrotate
|
postrotate
|
||||||
echo "$(date) Logrotate (log.txt) hat stattgefunden! ERR: $?" >>/root/Logs/log.log
|
echo "$(date) Logrotate ($1) hat stattgefunden! ERR: $?" >>$1
|
||||||
|
echo "$(date) Logrotate ($1) hat stattgefunden! " >>/home/alf/Gitea/logger/Logs/logrotate.log
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user