summaryrefslogtreecommitdiff
path: root/community-testing/prosody/prosody.logrotated
blob: 5659ba01f763c3eb6fc5d22af30e9515e225597b (plain)
1
2
3
4
5
6
7
8
9
/var/log/prosody/prosody.log /var/log/prosody/prosody.err {
    # olddir /var/log/old/prosody
    create 644 prosody prosody
    sharedscripts
    missingok
    postrotate
        /bin/kill -HUP `cat /var/run/prosody/prosody.pid 2> /dev/null` 2> /dev/null || true
    endscript
}