diff --git a/packaging/debian/postinst b/packaging/debian/postinst index c60b7b7a71..a0115de4fe 100755 --- a/packaging/debian/postinst +++ b/packaging/debian/postinst @@ -35,6 +35,10 @@ case "$1" in web_concurrency=$(${CLI} config:get WEB_CONCURRENCY || echo "2") ${CLI} config:set WEB_CONCURRENCY=${web_concurrency} + # set web timeout + web_timeout=$(${CLI} config:get WEB_TIMEOUT || echo "15") + ${CLI} config:set WEB_TIMEOUT=${web_timeout} + # set SECRET_TOKEN env variable secret_token=$(${CLI} config:get SECRET_TOKEN || ${CLI} run rake -s secret | tail -1) ${CLI} config:set SECRET_TOKEN="$secret_token"