debian-forge-composer/distribution/osbuild-composer.socket
Ondřej Budai dc1b84fcfe composer: split out the local worker socket
Everybody hates the local workers. The first step of getting rid of them
is to split their socket out of osbuild-composer.socket - we need to keep
this one to support the Weldr API but the local worker socket can live in
its own file.

The behaviour should be the same for now: osbuild-composer.service always
starts the local worker socket.

However, this split allows the osbuild-composer executable to be run without
the Weldr API activated. The following commit explores this option more
in depth.

Note that the new socket can be used by root only because workers are always
run as root.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2020-11-17 17:01:18 +00:00

10 lines
166 B
SYSTEMD

[Unit]
Description=OSBuild Composer Weldr API socket
[Socket]
ListenStream=/run/weldr/api.socket
SocketGroup=weldr
SocketMode=660
[Install]
WantedBy=sockets.target