From 71428d3131f64516c9ddc46e42cfbd22ef964678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Mon, 16 Nov 2020 11:57:11 +0100 Subject: [PATCH] composer: do not require the weldr socket MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It should be totally possible to run osbuild-composer without the Weldr API and local worker socket. This commit accomplishes this task! In cloud environments where we don't want the Weldr API, it's now totally possible to run osbuild-composer without it. If you also want to get rid of the local worker, this command still works: systemctl mask osbuild-worker@1.service Signed-off-by: Ondřej Budai --- distribution/osbuild-composer.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/distribution/osbuild-composer.service b/distribution/osbuild-composer.service index c66f77cec..b75e8f863 100644 --- a/distribution/osbuild-composer.service +++ b/distribution/osbuild-composer.service @@ -1,7 +1,10 @@ [Unit] Description=OSBuild Composer After=multi-user.target -Requires=osbuild-composer.socket + +# Weldr API needs a local worker by default. +# Run `systemctl mask osbuild-worker@1.service` +# to disable it. Wants=osbuild-worker@1.service [Service]