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>
This commit is contained in:
parent
0ac554c139
commit
dc1b84fcfe
6 changed files with 39 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[Unit]
|
||||
Description=OSBuild Composer Worker (%i)
|
||||
Requires=osbuild-composer.socket
|
||||
After=multi-user.target osbuild-composer.socket
|
||||
Requires=osbuild-local-worker.socket
|
||||
After=multi-user.target osbuild-local-worker.socket
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue