xref: /unit/pkg/rpm/rpmbuild/SOURCES/unit.logrotate (revision 911:7012b4fd5113)
1/var/log/unit/*.log {
2    missingok
3    nocreate
4    notifempty
5    postrotate
6        if [ -f /var/run/unit/unit.pid ]; then
7            /bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid`
8        fi
9    endscript
10}
11