summarylogtreecommitdiffstats
path: root/icecast-kh-git.logrotate
blob: 5630ea4c4dd2b5b96dd6a3bd60257391f2904515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/icecast/*log {
    missingok
    notifempty
    sharedscripts
    postrotate
        PID=`pgrep icecast`
        if [ $PID ]; then
	         		/bin/kill -hup $PID
      		fi
    endscript
}