# 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