Alexandre
2023-09-10 07:39:48 +02:00
parent 629efc0e93
commit efaf494115
12 changed files with 146 additions and 35 deletions

View File

View File

@@ -0,0 +1,14 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# Define user
PUID=$(bashio::config "PUID")
PGID=$(bashio::config "PGID")
# Check data location
LOCATION="/config/addons_config/changedetection.io"
# Check structure
mkdir -p "$LOCATION"
chown -R "$PUID":"$PGID" "$LOCATION"
chmod -R 755 "$LOCATION"