mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-01-09 23:11:02 +01:00
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
set -e
|
|
|
|
if [ ! -d /container-stats/db ]; then
|
|
bashio::log.debug 'Wait for database'
|
|
sleep 2s
|
|
fi
|
|
|
|
bashio::log.info 'Start webserver'
|
|
cd /container-stats
|
|
node httpd.js
|