aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-20 15:59:38 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-20 15:59:38 +0200
commitc688970b415f478b6b99419bac6a8c7a94f8d4d8 (patch)
treecd7dd1bcc9e54a5e808426c2aac68b615b0bc12e
parentfixes (diff)
downloadconcourse-c688970b415f478b6b99419bac6a8c7a94f8d4d8.tar.gz
concourse-c688970b415f478b6b99419bac6a8c7a94f8d4d8.tar.xz
fixes
-rw-r--r--files/concourse-web.service2
-rw-r--r--manifests/web.pp4
2 files changed, 5 insertions, 1 deletions
diff --git a/files/concourse-web.service b/files/concourse-web.service
index 05b74e9..bb6182a 100644
--- a/files/concourse-web.service
+++ b/files/concourse-web.service
@@ -3,7 +3,7 @@ Description=Continous thing-doer.
[Service]
ExecStart=concourse web
-Exec=kill -HUP $MAINPID
+ExecReload=kill -HUP $MAINPID
EnvironmentFile=/etc/conf.d/concourse
[Install]
diff --git a/manifests/web.pp b/manifests/web.pp
index 6354e02..7bd4d0b 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -67,6 +67,8 @@
# @param api_max_conns
# @param backend_max_conns
# @param packages
+# @param extra_env
+# Additional environment variables passed along to the worker.
class concourse::web (
String $cluster = $concourse::default_cluster,
String $postgres_user = $concourse::configured_clusters[$cluster]['postgres_user'],
@@ -105,6 +107,8 @@ class concourse::web (
'concourse',
'concourse-resource-types',
],
+
+ Hash[String, String] $extra_env = {}
) {
include concourse