ci/forge/dwarves-ci.service
[Unit]
Description=dwarves CI forge: dwarves serve with the [ci] project (lane SCORECARD)
Requires=dwarves-ci-podman.service
After=dwarves-ci-podman.service network-online.target
[Service]
EnvironmentFile=%h/.config/dwarves-ci/forge.env
WorkingDirectory=%h/tgt/ci/src
ExecStart=%h/.local/lib/dwarves-ci/dwarves serve
# light on dwarf: low CPU and I/O priority; stopping the unit stops only its own children
Nice=10
IOSchedulingClass=idle
KillMode=control-group
Restart=on-failure
RestartSec=60
[Install]
WantedBy=default.target