mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 20:04:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -19,8 +19,9 @@ fi
|
|||||||
mkdir -p "$LOCATION"/resources
|
mkdir -p "$LOCATION"/resources
|
||||||
ln -s $LOCATION/resources /home/joplin/packages/server
|
ln -s $LOCATION/resources /home/joplin/packages/server
|
||||||
|
|
||||||
chown -R www-data:www-data "$LOCATION"
|
# chown -R www-data:www-data "$LOCATION"
|
||||||
chmod -R 775 "$LOCATION"
|
chmod -R 775 "$LOCATION"
|
||||||
|
chmod 777 "$LOCATION/database.sqlite"
|
||||||
export SQLITE_DATABASE="$LOCATION/database.sqlite"
|
export SQLITE_DATABASE="$LOCATION/database.sqlite"
|
||||||
|
|
||||||
if bashio::config.has_value 'POSTGRES_DATABASE'; then
|
if bashio::config.has_value 'POSTGRES_DATABASE'; then
|
||||||
|
|||||||
Reference in New Issue
Block a user