MiniDLNA add-on

This commit is contained in:
Bogdan Vlaicu committed 2020-04-11 10:19:17 -04:00
1 parent 118c7fa42c
commit 7c3322a6d4
9 files changed
+159 -2

No files matched your search

@@ -0,0 +1,9 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Community Hass.io Add-ons: torrdlna
# Take down the S6 supervision tree when the miniDLNA daemon fails
# ==============================================================================
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }
s6-svscanctl -t /var/run/s6/services
@@ -0,0 +1,10 @@
#!/usr/bin/with-contenv bash
# ==============================================================================
# Community Hass.io Add-ons: torrdlna
# Runs the MiniDLNA daemon
# ==============================================================================
# shellcheck disable=SC1091
source /usr/lib/hassio-addons/base.sh
# Run the Tor daemon
exec minidlnad