summarylogtreecommitdiffstats
path: root/sudoers
diff options
context:
space:
mode:
authorJames An2017-02-21 20:23:53 -0500
committerJames An2017-02-21 20:23:53 -0500
commitdc2e541db00b5a12b4314856489feef6d7b81210 (patch)
treeb01efb2964e65f9ca9b7289c025af21d9942dab4 /sudoers
parent6d938ee5de16a8b115360a27380b42a9a44e01c3 (diff)
downloadaur-dc2e541db00b5a12b4314856489feef6d7b81210.tar.gz
Added apache web server systemd restarted command to sudo config for the aegir user.
Diffstat (limited to 'sudoers')
-rw-r--r--sudoers2
1 files changed, 2 insertions, 0 deletions
diff --git a/sudoers b/sudoers
index 7369b9930d6..9ae9106e703 100644
--- a/sudoers
+++ b/sudoers
@@ -1,6 +1,8 @@
Defaults:aegir !requiretty
+aegir ALL=NOPASSWD: /usr/bin/systemctl try-reload-or-restart httpd.service
aegir ALL=NOPASSWD: /usr/bin/systemctl try-reload-or-restart nginx.service
aegir ALL=NOPASSWD: /usr/bin/nginx
Defaults:http !requiretty
+http ALL=NOPASSWD: /usr/bin/systemctl try-reload-or-restart httpd.service
http ALL=NOPASSWD: /usr/bin/systemctl try-reload-or-restart nginx.service
http ALL=NOPASSWD: /usr/bin/nginx