-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0dd243d
commit a4a3fdf
Showing
6 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"build_from": { | ||
"aarch64": "hassioaddons/debian-base-aarch64:3.0.1", | ||
"amd64": "hassioaddons/base-amd64:7.0.2", | ||
"armhf": "hassioaddons/debian-base-armhf:3.0.1", | ||
"armv7": "hassioaddons/debian-base-armv7:3.0.1" | ||
"aarch64": "hassioaddons/debian-base-aarch64:3.1.0", | ||
"amd64": "hassioaddons/base-amd64:7.1.0", | ||
"armhf": "hassioaddons/debian-base-armhf:3.1.0", | ||
"armv7": "hassioaddons/debian-base-armv7:3.1.0" | ||
}, | ||
"args": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/execlineb -S0 | ||
# ============================================================================== | ||
# NetDaemon add-on | ||
# Take down the S6 supervision tree when NetDaemon fails | ||
# ============================================================================== | ||
if -n { s6-test $# -ne 0 } | ||
if -n { s6-test ${1} -eq 256 } | ||
|
||
s6-svscanctl -t /var/run/s6/services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/with-contenv bashio | ||
# ============================================================================== | ||
# NetDaemon Add-on | ||
# Starts NetDaemon | ||
# ============================================================================== | ||
|
||
cd /daemon || bashio::exit.nok "Could not change directory to Node-RED" | ||
|
||
bashio::log.info "Starting NetDaemon..." | ||
|
||
exec ./Service |