From 62f0366c207fbbf9d7409e4a39c01086ffd048fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 7 Oct 2021 08:56:09 +0200 Subject: [PATCH] Revert "Revert "lighttpd: start Foris and reForis FastCGI backends on demand"" This reverts commit 14abc044af6076364b015610d082e0aee085e9e8. This reverts Foris part as well. The reForis part was reverted in 33ab8eff458c6a52a1285ac2d966fadd19eb77a4. It turns out that my assumption that both Foris and reForis behave the same that lead to only partial revert was invalid and Foris as it seems it all right. This matches the behavior of reForis. --- web/foris/foris/Makefile | 2 +- web/foris/foris/files/lighttpd-dynamic-conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/foris/foris/Makefile b/web/foris/foris/Makefile index 39f3cd77e..8477f70e2 100644 --- a/web/foris/foris/Makefile +++ b/web/foris/foris/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=foris PKG_VERSION:=101.1.1 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://gitlab.nic.cz/turris/foris/foris.git diff --git a/web/foris/foris/files/lighttpd-dynamic-conf b/web/foris/foris/files/lighttpd-dynamic-conf index 910d13705..8439589f8 100644 --- a/web/foris/foris/files/lighttpd-dynamic-conf +++ b/web/foris/foris/files/lighttpd-dynamic-conf @@ -55,6 +55,8 @@ case $SERVER in echo " \"socket\" => \"/tmp/fastcgi.foris-$APP.socket\"," echo " \"bin-path\" => var.foris-$APP.bin + var.foris-$APP.flags," echo ' "check-local" => "disable",' + echo ' "idle-timeout" => 180,' + echo ' "min-procs" => 0,' echo ' "max-procs" => 1,' if [ -n "$SENTRY_DSN" ]; then echo ' "bin-environment" => (' -- GitLab