mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 13:59:06 -04:00
net/haproxy: chroot path must have proper permissions to allow logging, fixes #39
This commit is contained in:
parent
46e3438a0b
commit
6323e7b7bb
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
HAPROXY_DIRS="/var/haproxy/var/run /var/etc/haproxy/ssl /var/etc/haproxy/lua /var/etc/haproxy/errorfiles"
|
||||
# NOTE: Keep /var/haproxy on this list, see GH issue opnsense/plugins #39.
|
||||
HAPROXY_DIRS="/var/haproxy /var/haproxy/var/run /var/etc/haproxy/ssl /var/etc/haproxy/lua /var/etc/haproxy/errorfiles"
|
||||
|
||||
for directory in ${HAPROXY_DIRS}; do
|
||||
mkdir -p ${directory}
|
||||
|
|
|
|||
Loading…
Reference in a new issue