summaryrefslogtreecommitdiff
blob: 9298cc5078d42a1323aaf3520eef72c592682127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/var/log/capisuite.log {
        weekly
        missingok
        rotate 52
        compress
        delaycompress
        notifempty
        create 640 root adm
        sharedscripts
        postrotate
           if [ -f /var/run/capisuite.pid ]; then \
             if [ -x /usr/sbin/invoke-rc.d ]; then \
                invoke-rc.d capisuite restart > /dev/null; \
             else \
                /etc/init.d/capisuite restart > /dev/null; \
             fi; \
           fi;
        endscript
}

/var/log/capisuite.error {
        weekly
        missingok
        rotate 52
        compress
        delaycompress
        notifempty
        create 640 root adm
        sharedscripts
        postrotate
	  if [ -f /var/run/capisuite.pid ]; then \
             if [ -x /usr/sbin/invoke-rc.d ]; then \
                invoke-rc.d capisuite restart > /dev/null; \
             else \
                /etc/init.d/capisuite restart > /dev/null; \
             fi; \
           fi;
        endscript
}