mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-05-20 06:41:43 +02:00
add new
This commit is contained in:
11
container-stats/root/etc/services.d/webserver/run
Normal file
11
container-stats/root/etc/services.d/webserver/run
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user