mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-12 10:31:26 +02:00
Convert addons to non-legacy (#36)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/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
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
bashio::log.info 'Starting transmission-magnet-redirect...'
|
||||
|
||||
cd /app
|
||||
exec dotnet TransmissionMagnetRedirect.dll
|
||||
Reference in New Issue
Block a user