This website works better with JavaScript.
Home
Explore
Help
Sign In
ruhnet
/
kazoo-configs-kamailio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
183
Wiki
Activity
Browse Source
Merge pull request
#50
from 2600hz/haproxy_fix
HAProxy fix
3.21
lazedo
11 years ago
parent
81d8f88a56
92d4fc9b6d
commit
01638de186
2 changed files
with
13 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
system/logrotate.d/haproxy.conf
+1
-1
system/rsyslog.d/20-haproxy.conf
+ 12
- 0
system/logrotate.d/haproxy.conf
View File
@ -0,0 +1,12 @@
/var/log/haproxy/haproxy.log {
daily
rotate 31
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
+ 1
- 1
system/rsyslog.d/20-haproxy.conf
View File
@ -1,2 +1,2 @@
if $programname == 'haproxy' then /var/log/haproxy.log
if $programname == 'haproxy' then /var/log/haproxy
/haproxy
.log
& ~
Write
Preview
Loading…
Cancel
Save