mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
haproxy: Log to syslog and install logrotate script
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
8
config/haproxy/logrotate
Normal file
8
config/haproxy/logrotate
Normal file
@@ -0,0 +1,8 @@
|
||||
/var/log/haproxy {
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user