docker-swag/root/etc/s6-overlay/s6-rc.d/init-folders-config/run
Eric Nemchik 7e1db9c562
Crontabs folder created in base
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-08-19 08:42:48 -05:00

13 lines
340 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# make our folders and links
mkdir -p \
/config/{fail2ban,dns-conf} \
/config/etc/letsencrypt/renewal-hooks \
/config/log/{fail2ban,letsencrypt,nginx} \
/config/nginx/proxy-confs \
/run/fail2ban
rm -rf /etc/letsencrypt
ln -s /config/etc/letsencrypt /etc/letsencrypt