debian-forge-composer/distribution/osbuild-remote-worker@.service
Achilleas Koutsou 03e86cc31a spec: remove dnf-json service and socket
dnf-json is a standalone script again.  The service and socket are
removed.
2022-06-01 11:36:52 +01:00

18 lines
No EOL
451 B
Desktop File

[Unit]
Description=OSBuild Composer Remote Worker (%i)
After=network.target
[Service]
Type=simple
PrivateTmp=true
ExecStart=/usr/libexec/osbuild-composer/osbuild-worker %i
Restart=on-failure
RestartSec=10s
CPUSchedulingPolicy=batch
IOSchedulingClass=idle
CacheDirectory=osbuild-worker
# systemd >= 240 sets this, but osbuild-worker runs on earlier versions
Environment="CACHE_DIRECTORY=/var/cache/osbuild-worker"
[Install]
WantedBy=multi-user.target