aboutsummaryrefslogtreecommitdiff
path: root/network/elemental-ircd/elemental-ircd.logrotate
blob: 57145d5da6954dd9c8a605b2c2ad32b7a4f6d7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/var/log/elemental-ircd/* {
    daily
    rotate 7
    create 0644 @IRCD_UNAME@ @IRCD_GNAME@
    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
}