debian-forge-composer/distribution/osbuild-remote-worker@.service
Lars Karlitski f8982f4a1a worker: don't hard code path to unix domain socket
Introduce a mandatory argument `address`, which is interpreted as a path
to a unix socket when `-unix` is given or a network address otherwise.

Move the default path to the service file.

Add a more useful usage message when passing `-help` or no arguments.
2020-03-25 14:05:44 +01:00

13 lines
291 B
Desktop File

[Unit]
Description=OSBuild Composer Remote Worker (%i)
After=multi-user.target
[Service]
Type=simple
PrivateTmp=true
ExecStart=/usr/libexec/osbuild-composer/osbuild-worker %i
CacheDirectory=osbuild-composer
Restart=on-failure
RestartSec=10s
CPUSchedulingPolicy=batch
IOSchedulingClass=idle