Files
guardian-caddy/deploy/deploy-sudoers.example
T
2025-12-07 14:28:00 +00:00

6 lines
295 B
Plaintext

# Example sudoers line to allow the `git` or deploy user to reload caddy without a password.
# Install by placing a file in /etc/sudoers.d/ (e.g., /etc/sudoers.d/infra-caddy-deploy)
# Replace `git` with the deploy user you use for the hook.
git ALL=(root) NOPASSWD: /bin/systemctl reload caddy