mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-27 23:17:38 +01:00
7
hyperion/root/etc/cont-init.d/20-folders
Normal file
7
hyperion/root/etc/cont-init.d/20-folders
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /config/hyperion ]; then
|
||||
echo "Creating /config/hyperion"
|
||||
mkdir -p /config/hyperion
|
||||
#chown -R abc:abc /config/hyperion
|
||||
fi
|
||||
6
hyperion/root/etc/services.d/hyperion/finish
Normal file
6
hyperion/root/etc/services.d/hyperion/finish
Normal file
@@ -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
|
||||
5
hyperion/root/etc/services.d/hyperion/run
Normal file
5
hyperion/root/etc/services.d/hyperion/run
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
bashio::log.info 'Starting hyperiond...'
|
||||
|
||||
exec hyperiond -u /config/hyperion
|
||||
Reference in New Issue
Block a user