From 6f98a656926dc5798ec7b0a3980464e8174ad642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20B=C3=A9dard-Couture?= Date: Sun, 6 Oct 2024 14:37:01 -0400 Subject: [PATCH] Fix the nginx logs by keeping the process output to stdout instead of pushing directly into log file (#3851) --- install/frigate-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/install/frigate-install.sh b/install/frigate-install.sh index 16887b2b..16dfd0ca 100644 --- a/install/frigate-install.sh +++ b/install/frigate-install.sh @@ -171,8 +171,6 @@ msg_ok "Installed Coral Object Detection Model" msg_info "Building Nginx with Custom Modules" $STD /opt/frigate/docker/main/build_nginx.sh sed -e '/s6-notifyoncheck/ s/^#*/#/' -i /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run -sed -i 's/error_log \/dev\/stdout warn\;/error_log \/dev\/shm\/logs\/nginx\/current warn\;/' /usr/local/nginx/conf/nginx.conf -sed -i 's/access_log \/dev\/stdout main\;/access_log \/dev\/shm\/logs\/nginx\/current main\;/' /usr/local/nginx/conf/nginx.conf ln -sf /usr/local/nginx/sbin/nginx /usr/local/bin/nginx msg_ok "Built Nginx"