Skip to content

Commit 255ac83

Browse files
committedDec 31, 2011
Logrotate configuration for logs.
1 parent 707ed08 commit 255ac83

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 

‎wre/var/setupfiles/wre.logrotate

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#Rotate TGC log
2+
3+
[% config.getRoot %]/var/logs/error.log /data/domains/*/logs/access.log {
4+
notifempty
5+
daily
6+
rotate 7
7+
missingok
8+
compress
9+
sharedscripts
10+
postrotate
11+
[% config.getRoot %]/prereqs/bin/perl [% config.getRoot %]/sbin/wreservice.pl --restart nginx
12+
endscript
13+
}
14+
15+
16+
[% config.getRoot %]/var/logs/webgui.log {
17+
notifempty
18+
daily
19+
rotate 7
20+
missingok
21+
compress
22+
sharedscripts
23+
postrotate
24+
[% config.getRoot %]/prereqs/bin/perl [% config.getRoot %]/sbin/wreservice.pl --restart nginx
25+
endscript
26+
}
27+

0 commit comments

Comments
 (0)
Please sign in to comment.