mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-09 23:40:59 +02:00
Set structure
This commit is contained in:
@@ -2,7 +2,15 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
set -e
|
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 #
|
# Define database #
|
||||||
|
|||||||
Reference in New Issue
Block a user