mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-20 03:28:11 +01:00
Use bashio
This commit is contained in:
@@ -60,7 +60,7 @@ fi
|
||||
chmod -R 777 /data
|
||||
mkdir -p "$DATA_DIR"
|
||||
cd "$DATA_DIR" || true
|
||||
chown -R "$PUID:$PGID" .
|
||||
chown -R "$(bashio::config "PUID"):$(bashio::config "PGID")" .
|
||||
echo "Permissions adapted"
|
||||
|
||||
bashio::log.info "Starting nginx"
|
||||
|
||||
Reference in New Issue
Block a user