mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Set structure
This commit is contained in:
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user