summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install/ipa-server-install
diff options
context:
space:
mode:
authorKarl MacMillan <kmacmill@redhat.com>2007-09-28 16:46:12 -0400
committerKarl MacMillan <kmacmill@redhat.com>2007-09-28 16:46:12 -0400
commit679343594d86d57c85d1a6bb5333c83ca8bacd78 (patch)
tree38bdfb23b5e561863c8c09f03abb9ee053a5ff92 /ipa-server/ipa-install/ipa-server-install
parent50d12d6d2e680d32a5940afa0242c2c75df57d1f (diff)
downloadfreeipa-679343594d86d57c85d1a6bb5333c83ca8bacd78.tar.gz
freeipa-679343594d86d57c85d1a6bb5333c83ca8bacd78.tar.xz
freeipa-679343594d86d57c85d1a6bb5333c83ca8bacd78.zip
Install the web gui
Install the turbogears web gui including an init script. This patch includes a few related changes: * create a production configuration * rename the web gui startup scrip to ipa-webgui * add an init script * chkconfig on the ipa-webgui init script * make the start script properly daemonize the app when not in a development directory. * Install everything to the correct places (/usr/sbin/ipa-webgui and /usr/share/ipa/ipagui mainly). There are some things still left to do: * Sort out the logging - the config needs to be adjusted so that logging messages end up in /var/log.
Diffstat (limited to 'ipa-server/ipa-install/ipa-server-install')
-rw-r--r--ipa-server/ipa-install/ipa-server-install8
1 files changed, 7 insertions, 1 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index 54da6856b..b8b9805ba 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -370,7 +370,13 @@ def main():
krb.restart()
# Allow apache to connect to the turbogears web gui
- run(["/usr/sbin/setsebool", "httpd_can_network", "true"])
+ run(["/usr/sbin/setsebool", "-P", "httpd_can_network_connect", "true"])
+
+ # Start the web gui
+ run(["/sbin/service", "ipa-webgui", "start"])
+
+ # Set the web gui to start on boot
+ run(["/sbin/chkconfig", "ipa-webgui", "on"])
# Restart apache
run(["/sbin/service", "httpd", "restart"])