File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
#Rotate TGC log
2
2
3
- [% config.getRoot %]/var/logs/error.log /data/domains/*/logs/access.log {
3
+ ##nginx and access logs
4
+ [% config.getRoot %]/var/logs/nginx_error.log /data/domains/*/logs/access.log {
4
5
notifempty
5
6
daily
6
7
rotate 7
12
13
endscript
13
14
}
14
15
15
-
16
- [% config.getRoot %]/var/logs/webgui.log {
16
+ ##webgui and starman
17
+ [% config.getRoot %]/var/logs/webgui.log [% config.getRoot %]/var/logs/starman*.log {
17
18
notifempty
18
19
daily
19
20
rotate 7
20
21
missingok
21
22
compress
22
23
sharedscripts
23
24
postrotate
24
- [% config.getRoot %]/prereqs/bin/perl [% config.getRoot %]/sbin/wreservice.pl --restart nginx
25
+ [% config.getRoot %]/prereqs/bin/perl [% config.getRoot %]/sbin/wreservice.pl --restart starman
25
26
endscript
26
27
}
27
28
29
+ ##wremonitor
30
+ [% config.getRoot %]/var/logs/wremonitor.log
31
+ notifempty
32
+ daily
33
+ rotate 7
34
+ missingok
35
+ compress
36
+ }
37
+
You can’t perform that action at this time.
0 commit comments