composer: do not require the weldr socket

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 <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2020-11-16 11:57:11 +01:00 committed by Tom Gundersen
parent dc1b84fcfe
commit 71428d3131

View file

@ -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]