infra-setup: grant gitea_ci stop/start on quantus-miner.service #5

Merged
grenade merged 1 commits from bench/miner-stop-start-sudoers into main 2026-09-03 10:15:29 +00:00
Owner

Two sudoers lines in the miner role so the benchmark harness in quantus/miner#2 can pause mining on a host for a measurement window and resume it afterwards. restart alone cannot express a pause.

Already applied: infra-setup.sh --miner-hosts "benjy quadbrat" was run from this branch on 2026-09-03; both hosts verified with sudo -n -l -U gitea_ci showing the two new grants and visudo -cf passing. Merging this PR makes the repo match the hosts, which the deploy's sudoers preflight already requires (it derives the expected grant list from this file).

Part of the split tracked in #4: the miner role moves to quantus/miner later, and these lines go with it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5

Two sudoers lines in the miner role so the benchmark harness in quantus/miner#2 can pause mining on a host for a measurement window and resume it afterwards. `restart` alone cannot express a pause. Already applied: `infra-setup.sh --miner-hosts "benjy quadbrat"` was run from this branch on 2026-09-03; both hosts verified with `sudo -n -l -U gitea_ci` showing the two new grants and `visudo -cf` passing. Merging this PR makes the repo match the hosts, which the deploy's sudoers preflight already requires (it derives the expected grant list from this file). Part of the split tracked in #4: the miner role moves to quantus/miner later, and these lines go with it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade added 1 commit 2026-09-03 09:57:29 +00:00
The benchmark harness (quantus/miner#2) pauses mining on a host for a
measurement window and resumes it afterwards. restart alone cannot express
a pause. Two lines in the miner role; re-run infra-setup on the miner hosts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
grenade merged commit 4a781b3b8c into main 2026-09-03 10:15:29 +00:00
grenade deleted branch bench/miner-stop-start-sudoers 2026-09-03 10:15:29 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lair/quantus#5