chef-recipes/containers/drone-runner/files/drone-runner-gc.service

9 lines
204 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Remove unused podman resources spawned by drone runner
Wants=drone-runner-gc.timer
[Service]
Type=oneshot
ExecStart=/bin/podman system prune --filter label=io.drone=true --volumes -f