self-hosting/roles/forgejo/templates/sudoers.d/git.j2

5 lines
156 B
Text
Raw Normal View History

2024-12-31 18:24:58 +01:00
# {{ ansible_managed }}
git ALL=(root) NOPASSWD:/usr/bin/systemctl stop forgejo.service
git ALL=(root) NOPASSWD:/usr/bin/systemctl restart forgejo.service