Keep nginx backgrounded during wger startup

This commit is contained in:
Alexandre
2026-06-16 21:51:52 +02:00
parent 4c023c6cb8
commit 1a44fa9221

View File

@@ -106,7 +106,7 @@ mkdir -p /run/nginx /var/log/nginx
if [ -f /run/nginx.pid ] && kill -0 "$(cat /run/nginx.pid)" 2> /dev/null; then
bashio::log.info "nginx is already running"
elif nginx -t; then
nginx
nginx &
else
bashio::log.error "nginx configuration test failed"
exit 1