summaryrefslogblamecommitdiffhomepage
path: root/pkg/rpm/rpmbuild/SOURCES/unit.logrotate
blob: 8fb00199d37f653706c95acfd6863cf354de5da9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                           
/var/log/unit/*.log {
    missingok
    nocreate
    notifempty
    postrotate
        if [ -f /var/run/unit/unit.pid ]; then
            /bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid`
        fi
    endscript
}