Set structure

This commit is contained in:
Alexandre
2024-12-06 21:20:46 +01:00
committed by GitHub
parent 7194d1efb9
commit 68c5e0ef27

View File

@@ -2,7 +2,15 @@
# shellcheck shell=bash
set -e
# Gives mariadb information
#################
# 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 #