buildworker: start: fix broken non TLS setups
authorPetr Štetiar <ynezz@true.cz>
Thu, 24 Oct 2024 19:55:04 +0000 (19:55 +0000)
committerPetr Štetiar <ynezz@true.cz>
Mon, 4 Nov 2024 06:12:04 +0000 (06:12 +0000)
commitdbf5d03807e66f15b1b661a4fac51c6739cad156
tree014ad508b1ff8d27c5a2eb8c5fbd6ce28fa9a0c7
parent3915bd80cec149897f37530eeaba366aa87e2784
buildworker: start: fix broken non TLS setups

Changes in commit 3812ff7bb296 ("buildworker: start: fix worker startup
failure after update") broke non TLS setups. So lets fix it by setting
SSL: only if BUILDWORKER_TLS is set.

Fixes: 3812ff7bb296 ("buildworker: start: fix worker startup failure after update")
Reported-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
docker/buildworker/files/start.sh