slackbuilds/network/elemental-ircd/elemental-ircd.logrotate

16 lines
293 B
Plaintext

/var/log/elemental-ircd/* {
daily
rotate 7
copytruncate
delaycompress
compress
notifempty
missingok
postrotate
if [ -x /etc/rc.d/rc.elemental-ircd ]
then
/etc/rc.d/rc.elemental-ircd reload > /dev/null 2>&1
fi
endscript
}