From 2b86d3ec96969414482b9dc4c54b9dbb92f5877c Mon Sep 17 00:00:00 2001 From: Owain Jones <owanes@noc.ac.uk> Date: Fri, 15 Apr 2016 10:31:47 +0000 Subject: [PATCH] added selinux rules --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index bc33617..72b4c2d 100755 --- a/install.sh +++ b/install.sh @@ -179,6 +179,7 @@ echo '::1 dev.gliders.localhost gliders.localhost' >> /etc/hosts mkdir -p /var/gliders/www_dev /var/gliders/www /var/gliders/incoming /var/gliders/logs /var/gliders/static /var/gliders/daemon/logs chown -R gliders /var/gliders setsebool -P httpd_can_network_connect 1 +chcon -R -t httpd_sys_rw_content_t /usr/share/nginx chcon -R -t httpd_sys_rw_content_t /var/gliders/www chcon -R -t httpd_sys_rw_content_t /var/gliders/www_dev chcon -R -t httpd_sys_rw_content_t /var/gliders/incoming -- GitLab