diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-15 19:03:23 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-15 19:03:23 +0200 |
commit | 73b98210f69455b33116f8c2ca3aab6daf473bab (patch) | |
tree | 1c059346ab41ac895ddbf1e7b4cc10918b6cdb18 /files | |
parent | Initial commit. (diff) | |
download | concourse-73b98210f69455b33116f8c2ca3aab6daf473bab.tar.gz concourse-73b98210f69455b33116f8c2ca3aab6daf473bab.tar.xz |
Initial add.
Diffstat (limited to 'files')
-rw-r--r-- | files/concourse-web.service | 10 | ||||
-rw-r--r-- | files/concourse-worker.service | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/files/concourse-web.service b/files/concourse-web.service new file mode 100644 index 0000000..05b74e9 --- /dev/null +++ b/files/concourse-web.service @@ -0,0 +1,10 @@ +[Unit] +Description=Continous thing-doer. + +[Service] +ExecStart=concourse web +Exec=kill -HUP $MAINPID +EnvironmentFile=/etc/conf.d/concourse + +[Install] +WantedBy=multi-user.target diff --git a/files/concourse-worker.service b/files/concourse-worker.service new file mode 100644 index 0000000..3aa492d --- /dev/null +++ b/files/concourse-worker.service @@ -0,0 +1,9 @@ +[Unit] +Description=Worker for Concourse + +[Service] +ExecStart=concourse worker --healthcheck-bind-ip="${HEALTHCHECK_BIND_IP}" --bealthcheck-bind-port="${HEALTHCHECK_BIND_PORT}" --healthcheck-timeout="${HEALTHCHECK_TIMEOUT}" +EnvironmentFile=/etc/conf.d/concourse-worker + +[Install] +WantedBy=multi-user.target |