daemon: Add a logrotate configuration file.

This commit is contained in:
Tom Goff 2015-12-29 13:50:28 -05:00
parent 52e75bea3b
commit 18039a2564
4 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,13 @@
/var/log/core-daemon.log {
rotate 7
daily
missingok
notifempty
compress
sharedscripts
postrotate
if [ -r /var/run/core-daemon.pid ]; then
kill -USR1 $(cat /var/run/core-daemon.pid) > /dev/null 2>&1
fi
endscript
}