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>
16 lines
364 B
Desktop File
16 lines
364 B
Desktop File
[Unit]
|
|
Description=OSBuild Composer
|
|
After=multi-user.target
|
|
Requires=osbuild-composer.socket
|
|
Wants=osbuild-worker@1.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/libexec/osbuild-composer/osbuild-composer
|
|
StateDirectory=osbuild-composer
|
|
WorkingDirectory=/usr/libexec/osbuild-composer/
|
|
User=_osbuild-composer
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|