service: pull in the worker at runtime
Rather than enabling the worker when composer is enabled, make sure it is started whenever composer is. This means that one worker instance is always available, and more can be enabled if required. They are then also started whenever composer is. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
118b185fdd
commit
ef6fbe2a25
2 changed files with 2 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
Description=OSBuild Composer
|
||||
After=multi-user.target
|
||||
Requires=osbuild-composer.socket
|
||||
Wants=osbuild-worker@1.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
|
|
|||
|
|
@ -11,5 +11,4 @@ Restart=on-failure
|
|||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
DefaultInstance=1
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=osbuild-composer.service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue