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.
This commit is contained in:
Karl MacMillan
-
parent 50d12d6d2e
commit 679343594d
14 changed files with 350 additions and 77 deletions

View File

@@ -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