Updates to user/group determination after recent changes to v2 branch

This commit is contained in:
Jamie Curnow committed 2023-04-11 09:12:48 +10:00
1 parent fe46da3355
commit c0c89e5d15
18 files changed
+267 -83

No files matched your search

@@ -0,0 +1,13 @@
#!/command/with-contenv bash
# shellcheck shell=bash
set -e
log_info 'fail2ban ...'
mkdir -p /fail2ban/{action.d,filter.d,jail.d,log}
chown -R "$PUID:$PGID" /fail2ban
mkdir -p /var/run/fail2ban \
/data/logs/fail2ban
chown nobody:nogroup /data/logs/fail2ban
chmod 02755 /data/logs/fail2ban