fix worker service template
It is not properly named so it does not work for starting multiple instances. This should fix it.
This commit is contained in:
parent
859bc0ad2e
commit
4dbba6398a
2 changed files with 4 additions and 4 deletions
15
distribution/osbuild-worker@.service
Normal file
15
distribution/osbuild-worker@.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=OSBuild Composer Worker (%i)
|
||||
After=multi-user.target osbuild-composer.socket
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
PrivateTmp=true
|
||||
ExecStart=/usr/lib/osbuild-composer/osbuild-worker -C /var/lib/osbuild
|
||||
CacheDirectory=osbuild-composer
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
DefaultInstance=1
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue