You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
510 B

  1. # This file is auto-generated by frappe/bench
  2. # To re-generate this file, run "bench setup sudoers"
  3. {% if service %}
  4. {{ user }} ALL = (root) {{ service }}
  5. {{ user }} ALL = (root) NOPASSWD: {{ service }} nginx *
  6. {% endif %}
  7. {% if systemctl %}
  8. {{ user }} ALL = (root) {{ systemctl }}
  9. {{ user }} ALL = (root) NOPASSWD: {{ systemctl }} * nginx
  10. {% endif %}
  11. {% if nginx %}
  12. {{ user }} ALL = (root) NOPASSWD: {{ nginx }}
  13. {% endif %}
  14. {{ user }} ALL = (root) NOPASSWD: {{ certbot }}
  15. Defaults:{{ user }} !requiretty