From 5ad084ff9033fb86e466c221dfe7607b655b6ea9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 11 Jan 2024 22:56:15 +0100 Subject: [PATCH] Update run --- qbittorrent/rootfs/etc/services.d/nginx/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/services.d/nginx/run b/qbittorrent/rootfs/etc/services.d/nginx/run index 2c53a31bc..fc0006275 100644 --- a/qbittorrent/rootfs/etc/services.d/nginx/run +++ b/qbittorrent/rootfs/etc/services.d/nginx/run @@ -10,7 +10,7 @@ bashio::log.info "Starting NGinx..." # Check vpn is working if [ -f /currentip ]; then - exec nginx & \ + exec nginx || nginx -s reload & \ while true; do # Get vpn ip if bashio::config.true 'openvpn_alt_mode'; then @@ -37,5 +37,5 @@ if [ -f /currentip ]; then true done else - exec nginx + exec nginx || nginx -s reload fi