updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / capisuite / capisuite.logrotated
blobafb5bb7360165029ff2f12681bbddeb171e9df75
1 /usr/local/var/log/capisuite.log {
2         weekly
3         missingok
4         rotate 52
5         compress
6         delaycompress
7         notifempty
8         create 640 root adm
9         sharedscripts
10         postrotate
11            if [ -f /var/run/capisuite.pid ]; then \
12              if [ -x /usr/sbin/invoke-rc.d ]; then \
13                 invoke-rc.d capisuite restart > /dev/null; \
14              else \
15                 /etc/rc.d/capisuite restart > /dev/null; \
16              fi; \
17            fi;
18         endscript
21 /usr/local/var/log/capisuite.error {
22         weekly
23         missingok
24         rotate 52
25         compress
26         delaycompress
27         notifempty
28         create 640 root adm
29         sharedscripts
30         postrotate
31           if [ -f /var/run/capisuite.pid ]; then \
32              if [ -x /usr/sbin/invoke-rc.d ]; then \
33                 invoke-rc.d capisuite restart > /dev/null; \
34              else \
35                 /etc/rc.d/capisuite restart > /dev/null; \
36              fi; \
37            fi;
38         endscript