fixed line endings and upped version nr
This commit is contained in:
parent
d5e8842a7f
commit
69a8607eb6
3 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Plejd",
|
||||
"version": "5",
|
||||
"version": "0.0.6",
|
||||
"slug": "plejd",
|
||||
"description": "Adds support for the Swedish home automation devices from Plejd.",
|
||||
"url": "https://github.com/icanos/hassio-plejd/",
|
||||
|
|
|
|||
|
|
@ -10,5 +10,8 @@ bashio::log.info 'Starting the Plejd service...'
|
|||
cd /plejd || bashio::exit.nok 'Unable to change working directory'
|
||||
|
||||
# Run the Plejd service
|
||||
bashio::log.info 'Verified permissions on startup script'
|
||||
chmod +x /usr/bin/plejd.sh
|
||||
|
||||
bashio::log.info 'Executing startup script'
|
||||
exec /usr/bin/plejd.sh
|
||||
|
|
@ -22,6 +22,8 @@ PLEJD_CONFIG="{
|
|||
}
|
||||
"
|
||||
|
||||
bashio::log.info 'Wrote plejd.json'
|
||||
echo "$PLEJD_CONFIG" > $PLEJD_PATH
|
||||
|
||||
bashio::log.info 'Running add-on'
|
||||
exec node /plejd/main.js
|
||||
Loading…
Add table
Add a link
Reference in a new issue