summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver/webguiinstance.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-01-18 16:20:36 -0500
committerRob Crittenden <rcritten@redhat.com>2008-01-18 16:20:36 -0500
commit042fb11fa107718a831d468d16188e02f6ae3712 (patch)
treee0e8ee6701800b8f03702cb338f8efa211b18046 /ipa-server/ipaserver/webguiinstance.py
parentaaa3cfd58ca0c62325d7637b67c6711660624f5d (diff)
downloadfreeipa-042fb11fa107718a831d468d16188e02f6ae3712.tar.gz
freeipa-042fb11fa107718a831d468d16188e02f6ae3712.tar.xz
freeipa-042fb11fa107718a831d468d16188e02f6ae3712.zip
Fix issues reported by rpmlint.
- Removing shebangs (#!) from a bunch of python libraries - Don't use a variable name in init scripts for the lock file - Keep the init script name consistent with the binary name, so renamed ipa-kpasswd.init to ipa_kpasswd.init - Add status option to the init scripts - Move most python scripts out of /usr/share/ipa and into the python site-packages directories (ipaserver and ipaclient) - Remove unnecessary sys.path.append("/usr/share/ipa") - Fix the license string in the spec files - Rename ipa-webgui to ipa_webgui everywhere - Fix a couple of issues reported by pychecker in ipa-python
Diffstat (limited to 'ipa-server/ipaserver/webguiinstance.py')
-rw-r--r--ipa-server/ipaserver/webguiinstance.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipa-server/ipaserver/webguiinstance.py b/ipa-server/ipaserver/webguiinstance.py
index 10b80ec3..58969cb7 100644
--- a/ipa-server/ipaserver/webguiinstance.py
+++ b/ipa-server/ipaserver/webguiinstance.py
@@ -21,12 +21,12 @@ import service
class WebGuiInstance(service.Service):
def __init__(self):
- service.Service.__init__(self, "ipa-webgui")
+ service.Service.__init__(self, "ipa_webgui")
def create_instance(self):
- self.step("starting ipa-webgui", self.__start)
- self.step("configuring ipa-webgui to start on boot", self.__enable)
- self.start_creation("Configuring ipa-webgui")
+ self.step("starting ipa_webgui", self.__start)
+ self.step("configuring ipa_webgui to start on boot", self.__enable)
+ self.start_creation("Configuring ipa_webgui")
def __start(self):
self.backup_state("running", self.is_running())