teleo-infrastructure/deploy/sudoers/teleo-auto-deploy
twentyOne2x 9f6961947b
Some checks are pending
CI / lint-and-test (push) Waiting to run
Fix leoclean auto-deploy restart sudoers
2026-07-10 02:19:30 +02:00

14 lines
993 B
Text

# Narrow service privileges for teleo-auto-deploy.service, which runs as teleo.
# Keep command forms aligned with deploy/auto-deploy.sh.
teleo ALL=(root) NOPASSWD: /usr/bin/systemctl restart leoclean-gateway
teleo ALL=(root) NOPASSWD: /bin/systemctl restart leoclean-gateway
teleo ALL=(root) NOPASSWD: /usr/bin/systemctl restart leoclean-gateway.service
teleo ALL=(root) NOPASSWD: /bin/systemctl restart leoclean-gateway.service
teleo ALL=(root) NOPASSWD: /usr/bin/systemctl status leoclean-gateway
teleo ALL=(root) NOPASSWD: /bin/systemctl status leoclean-gateway
teleo ALL=(root) NOPASSWD: /usr/bin/systemctl status leoclean-gateway.service
teleo ALL=(root) NOPASSWD: /bin/systemctl status leoclean-gateway.service
teleo ALL=(root) NOPASSWD: /usr/bin/journalctl -u leoclean-gateway
teleo ALL=(root) NOPASSWD: /bin/journalctl -u leoclean-gateway
teleo ALL=(root) NOPASSWD: /usr/bin/journalctl -u leoclean-gateway.service
teleo ALL=(root) NOPASSWD: /bin/journalctl -u leoclean-gateway.service