Use wait on network to delay the startup (#81)
* Use wait on network to delay the startup * Update nm.conf * Create nm.conf * Update hassos-supervisor.service * Rename hassos.conf to docker.conf * Create hassos.conf * Create hassos.conf * Update hassos.conf * aply patch * Mark only failed * Fix start order
This commit is contained in:
@@ -15,12 +15,12 @@ function mark_bad() {
|
||||
#### Check system ####
|
||||
|
||||
# Docker state
|
||||
if ! systemctl -q is-active docker; then
|
||||
if systemctl -q is-failed docker; then
|
||||
mark_bad
|
||||
fi
|
||||
|
||||
# Docker state
|
||||
if ! systemctl -q is-active hassos-supervisor; then
|
||||
if systemctl -q is-failed hassos-supervisor; then
|
||||
mark_bad
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user