initial commit
This commit is contained in:
parent
b43bc6c4e2
commit
fe52e0901c
12 changed files with 2288 additions and 0 deletions
8
rootfs/etc/services.d/plejd/finish
Normal file
8
rootfs/etc/services.d/plejd/finish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Plejd
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
14
rootfs/etc/services.d/plejd/run
Normal file
14
rootfs/etc/services.d/plejd/run
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Plejd
|
||||
# Runs the Plejd service
|
||||
# ==============================================================================
|
||||
|
||||
bashio::log.info 'Starting the Plejd service...'
|
||||
|
||||
# Change working directory
|
||||
cd /plejd || bashio::exit.nok 'Unable to change working directory'
|
||||
|
||||
# Run the Plejd service
|
||||
chmod +x /usr/bin/plejd.sh
|
||||
exec /usr/bin/plejd.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue