mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-06 05:08:16 +01:00
15 lines
276 B
Bash
Executable File
15 lines
276 B
Bash
Executable File
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
set -e
|
|
|
|
# Setup config directory
|
|
if [ -d /app/config ]; then
|
|
rm -r /app/config
|
|
fi
|
|
ln -sf /config /app/config
|
|
|
|
# Set permissions
|
|
chown -R "$PUID:$PGID" /config || true
|
|
|
|
bashio::log.info "Seerr initialization complete"
|