Site icon Learning & Doing

Membuat logrotate untuk exim_mainlog per hari

nano /etc/logrotate.d/exim

/var/log/exim_mainlog {
#create 0640 mailnull mail
#compress
#postrotate
#/usr/bin/killall -HUP exim
# endscript
missingok
notifempty
size 100M
daily
rotate 90
dateext
copytruncate
}

Exit mobile version