summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2017-02-21 20:23:53 -0500
committerJames An2017-02-21 20:23:53 -0500
commitdc2e541db00b5a12b4314856489feef6d7b81210 (patch)
treeb01efb2964e65f9ca9b7289c025af21d9942dab4
parent6d938ee5de16a8b115360a27380b42a9a44e01c3 (diff)
downloadaur-dc2e541db00b5a12b4314856489feef6d7b81210.tar.gz
Added apache web server systemd restarted command to sudo config for the aegir user.
-rw-r--r--PKGBUILD4
-rw-r--r--sudoers2
2 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 64012d529b8..6f00013bf7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=aegir
pkgver=7.x_3.9
-pkgrel=5
+pkgrel=6
pkgdesc="Configuration for a dedicated Aegir server to host Drupal sites."
arch=('any')
url='http://aegirproject.org'
@@ -42,7 +42,7 @@ md5sums=('81c8f6285f3f17184dc8655e2942f3fc'
'75535f9870f06c540f513262a9b7b1ab'
'0b805c7084f94f46590f4b6ca73ec902'
'f9ae0c781a7ccefc63329daaf81fca36'
- '28c3fdc6242c022a2aa832f7b91564bc')
+ '54d222d45106c7ec6b13e9805eed882b')
package() {
msg2 'Adding config files'
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