summaryrefslogtreecommitdiffstats
path: root/ipa-python/ipaclient.py
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-python/ipaclient.py
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-python/ipaclient.py')
-rw-r--r--ipa-python/ipaclient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipa-python/ipaclient.py b/ipa-python/ipaclient.py
index 97792fdd1..c653e0fa1 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