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

3 lines
131 B
Text
Raw Normal View History

git ALL=(root) NOPASSWD:/usr/bin/systemctl stop forgejo.service
git ALL=(root) NOPASSWD:/usr/bin/systemctl restart forgejo.service