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>
14 lines
321 B
Desktop File
14 lines
321 B
Desktop File
[Unit]
|
|
Description=OSBuild Composer Worker (%i)
|
|
After=multi-user.target osbuild-composer.socket
|
|
|
|
[Service]
|
|
Type=simple
|
|
PrivateTmp=true
|
|
ExecStart=/usr/libexec/osbuild-composer/osbuild-worker -C /var/lib/osbuild
|
|
CacheDirectory=osbuild-composer
|
|
Restart=on-failure
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=osbuild-composer.service
|