summaryrefslogtreecommitdiff
path: root/net-vpn/i2pd/files/i2pd-2.38.0-r1.logrotate
blob: 9245bca8c48e4ec72d55681eb3c9f5bfc3d3d915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/i2pd.log {
        rotate 4
        weekly
        missingok
        notifempty
        create 640 i2pd i2pd
        postrotate
                if [ -f /run/i2pd/i2pd.pid ]; then
                    /bin/kill -HUP $(/bin/cat /run/i2pd/i2pd.pid)
                fi
        endscript
}