From 679343594d86d57c85d1a6bb5333c83ca8bacd78 Mon Sep 17 00:00:00 2001 From: Karl MacMillan Date: Fri, 28 Sep 2007 16:46:12 -0400 Subject: 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. --- ipa-python/ipaclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipa-python') diff --git a/ipa-python/ipaclient.py b/ipa-python/ipaclient.py index 97792fdd..c653e0fa 100644 --- a/ipa-python/ipaclient.py +++ b/ipa-python/ipaclient.py @@ -21,7 +21,8 @@ #!/usr/bin/python import sys -sys.path.append("/usr/share/ipa") +if "/usr/share/ipa" not in sys.path: + sys.path.append("/usr/share/ipa") from ipaserver import funcs import ipa.rpcclient as rpcclient -- cgit