mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-18 14:51:50 +02:00
Update 99-run.sh
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
#!/usr/bin/env bashio
|
#!/usr/bin/env bashio
|
||||||
# shellcheck shell=bash
|
# 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 #
|
# Define database #
|
||||||
|
|||||||
Reference in New Issue
Block a user