Update 00-folders.sh

This commit is contained in:
Alexandre
2022-10-23 22:59:45 +01:00
committed by GitHub
parent 5e94d295f8
commit e19ffef00e

View File

@@ -3,6 +3,13 @@
CONFIGSOURCE="/data"
# Use ssl
if [ -d /ssl ]; then
mkdir -p /cert
cp /ssl/* /cert 2>/dev/null
chown -R 508:508 /cert
fi
# Create directory
if [ ! -d "$CONFIGSOURCE" ]; then
echo "Creating directory"