Make apache work with selinux

The default configuration of the apache selinux policy doesn't allow
apache to connect to the turbogears gui. This sets the correct
boolean to allow that connection.
This commit is contained in:
Karl MacMillan 0001-01-01 00:00:00 +00:00
parent 24c22a2ebc
commit 22710a8dce

View File

@ -369,6 +369,9 @@ def main():
ds.restart()
krb.restart()
# Allow apache to connect to the turbogears web gui
run(["/usr/sbin/setsebool", "httpd_can_network", "true"])
# Restart apache
run(["/sbin/service", "httpd", "restart"])