hassio-plejd/rootfs/etc/services.d/plejd/run

14 lines
472 B
Text
Raw Normal View History

2019-12-04 11:17:06 +01:00
#!/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