Update 99-run.sh

This commit is contained in:
Alexandre
2024-12-06 20:32:25 +01:00
committed by GitHub
parent 339505efff
commit 3b4832a59e

View File

@@ -1,8 +1,15 @@
#!/usr/bin/env bashio
# shellcheck shell=bash
set -e
set +u
#################
# Set structure #
#################
mkdir -p /config/storage
cp -rf /var/www/html/storage/* /config/storage/
rm -r /var/www/html/storage
ln -sf /config/storage /var/www/html/storage
chown -R www-data:www-data /config
###################
# Define database #