net/haproxy: add syslog-ng socket (#2620)

* add syslog-ng socket
This commit is contained in:
kulikov-a
2021-11-01 21:18:46 +01:00
committed by GitHub
parent 1b7802f362
commit 1418230564
3 changed files with 3 additions and 1 deletions
@@ -37,7 +37,6 @@ function haproxy_syslog()
$syslogconf = array();
$syslogconf['haproxy'] = array(
'local' => '/var/haproxy/var/run/log',
'facility' => array('haproxy'),
);
@@ -1,3 +1,4 @@
haproxy.conf:/usr/local/etc/haproxy.conf.staging
rc.conf.d:/etc/rc.conf.d/haproxy
sslCerts.yaml:/usr/local/etc/haproxy/sslCerts.yaml
log_socket.conf:/usr/local/opnsense/service/templates/OPNsense/Syslog/sources/haproxy.conf
@@ -0,0 +1,2 @@
unix-dgram("/var/haproxy/var/run/log" dir_perm(0755) flags(syslog-protocol));