|
|
@ -161,8 +161,8 @@ msg_ok "Installed Coral Object Detection Model"
|
|
|
|
msg_info "Building Nginx with Custom Modules"
|
|
|
|
msg_info "Building Nginx with Custom Modules"
|
|
|
|
$STD /opt/frigate/docker/main/build_nginx.sh
|
|
|
|
$STD /opt/frigate/docker/main/build_nginx.sh
|
|
|
|
sed -i 's/exec nginx/exec \/usr\/local\/nginx\/sbin\/nginx/g' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run
|
|
|
|
sed -i 's/exec nginx/exec \/usr\/local\/nginx\/sbin\/nginx/g' /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run
|
|
|
|
sed -i 's/error_log \/dev\/stdout warn\;/error_log nginx\.err warn\;/' /usr/local/nginx/conf/nginx.conf
|
|
|
|
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 nginx\.log main\;/' /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
|
|
|
|
msg_ok "Built Nginx"
|
|
|
|
msg_ok "Built Nginx"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Creating Services"
|
|
|
|
msg_info "Creating Services"
|
|
|
|