60-deploy 219 B

123
  1. # deploy user: restart Go apps after a release, nothing else.
  2. # The ^...$ pattern must match the whole argument string (sudo >= 1.9.10).
  3. deploy ALL=(root) NOPASSWD: /usr/bin/systemctl ^restart goapp@[a-z0-9][a-z0-9-]*$