debian-forge-composer/distribution/osbuild-worker@.service
Tom Gundersen df73a9bfad service: make sure the worker pulls in the socket
The worker cannot be started unless the socket is available, so make
this a hard requirement.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-12-11 15:23:24 +01:00

15 lines
354 B
Desktop File

[Unit]
Description=OSBuild Composer Worker (%i)
Requires=osbuild-composer.socket
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