mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-24 14:59:37 -05:00
13 lines
349 B
Plaintext
Executable File
13 lines
349 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
# make our folders and links
|
|
mkdir -p \
|
|
/config/{fail2ban,crontabs,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
|