Convert to integration/docker image
so: - removed addon & bashio dependencies - added the needed S6 dependency directly instead of via hassioaddons/base:8.0.6
This commit is contained in:
parent
544172d806
commit
4e2b713065
5 changed files with 95 additions and 11 deletions
|
|
@ -1,17 +1,17 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/bin/bash
|
||||
# ==============================================================================
|
||||
# Community Hass.io Add-ons: Plejd
|
||||
# Runs the Plejd service
|
||||
# ==============================================================================
|
||||
|
||||
bashio::log.info 'Starting the Plejd service...'
|
||||
echo 'Starting the Plejd service...'
|
||||
|
||||
# Change working directory
|
||||
cd /plejd || bashio::exit.nok 'Unable to change working directory'
|
||||
cd /plejd || (>&2 echo 'Unable to change working directory'; exit $ERRCODE)
|
||||
|
||||
# Run the Plejd service
|
||||
bashio::log.info 'Verified permissions on startup script'
|
||||
echo 'Verifying permissions on startup script'
|
||||
chmod +x /usr/bin/plejd.sh
|
||||
|
||||
bashio::log.info 'Executing startup script'
|
||||
echo 'Executing startup script'
|
||||
exec /usr/bin/plejd.sh
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/with-contenv bashio
|
||||
#!/bin/bash
|
||||
|
||||
bashio::log.info 'Running add-on'
|
||||
echo 'Running add-on'
|
||||
exec node /plejd/main.js
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue