Skip to content

Sudoers: allow opencode to restart amc-radio, amc-bot, kimaki - #2

Open
asean-coding-agent[bot] wants to merge 1 commit into
masterfrom
opencode/sudoers-restart-services
Open

Sudoers: allow opencode to restart amc-radio, amc-bot, kimaki#2
asean-coding-agent[bot] wants to merge 1 commit into
masterfrom
opencode/sudoers-restart-services

Conversation

@asean-coding-agent

Copy link
Copy Markdown

Summary

  • Adds a NOPASSWD sudoers rule so the opencode user can run systemctl restart amc-radio amc-bot kimaki without a password prompt.
  • Appends a second command entry to the existing security.sudo.extraRules block in machines/amc-peripheral/configuration.nix.

… password

Add a NOPASSWD sudoers rule so the opencode service user can run
systemctl restart amc-radio amc-bot kimaki without prompting for
a password. This enables automated service restarts from the
OpenCode agent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants