This commit is contained in:
Alexandre
2020-12-08 14:22:05 +01:00
parent da995dfbb8
commit cdd7b70131
20 changed files with 10 additions and 484 deletions

View File

@@ -1,5 +0,0 @@
#!/usr/bin/with-contenv bashio
for k in $(bashio::jq "${__BASHIO_ADDON_CONFIG}" 'keys | .[]'); do
printf "$(bashio::config $k)" > /var/run/s6/container_environment/$k
done

View File

@@ -1,13 +0,0 @@
#!/usr/bin/with-contenv bash
if [ ! -d /config/jackett ]; then
echo "Creating /config/jackett"
mkdir -p /config/jackett
chown -R abc:abc /config/jackett
fi
if [ ! -d /share/jackett ]; then
echo "Creating /share/jackett"
mkdir -p /share/jackett
chown -R abc:abc /share/jackett
fi