View | Details | Raw Unified | Return to bug 19610
Collapse All | Expand All

(-)a/debian/koha-common.logrotate (-7 / +1 lines)
Lines 4-20 Link Here
4
    rotate 5
4
    rotate 5
5
    weekly
5
    weekly
6
    missingok
6
    missingok
7
    copytruncate
7
    compress
8
    compress
8
    delaycompress
9
    delaycompress
9
    notifempty
10
    notifempty
10
    sharedscripts
11
    sharedscripts
11
    prerotate
12
        /usr/sbin/koha-zebra --stop $(koha-list --enabled) > /dev/null
13
        /usr/sbin/koha-plack --stop --quiet $(koha-list --enabled --plack) > /dev/null
14
    endscript
15
    postrotate
12
    postrotate
16
        /etc/init.d/apache2 reload > /dev/null
13
        /etc/init.d/apache2 reload > /dev/null
17
        /usr/sbin/koha-plack --start --quiet $(koha-list --enabled --plack) > /dev/null
18
        /usr/sbin/koha-zebra --start $(koha-list --enabled) > /dev/null
19
    endscript
14
    endscript
20
}
15
}
21
- 

Return to bug 19610