osbuild-composer now uses socket activation instead of hardcoded paths in the code. osbuild-worker is an http client therefore it uses only service unit. osbuild-worker must be started after the socket is created. osbuild-composer service requires osbuild-worker to run, because without it no jobs can be started. osbuild-composer is executed as a regular user (newly created _osbuild-composer user) as opposed to the worker which must run as root in order to execute osbuild itself
16 lines
365 B
Desktop File
16 lines
365 B
Desktop File
[Unit]
|
|
Description=OSBuild Composer
|
|
After=multi-user.target
|
|
Requires=osbuild-composer.socket
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/lib/osbuild-composer/osbuild-composer
|
|
RuntimeDirectory=osbuild-composer weldr
|
|
StateDirectory=osbuild-composer
|
|
WorkingDirectory=/usr/lib/osbuild-composer/
|
|
User=_osbuild-composer
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|