From c011bccf45ee46c41e6606e391362938271de75a Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 29 May 2014 10:44:57 +0200 Subject: ipaplatform: Change paths dependant on ipaservices to use ipaplatform.paths https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin --- install/tools/ipactl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/tools/ipactl b/install/tools/ipactl index 581aacc36..44a61ae8d 100755 --- a/install/tools/ipactl +++ b/install/tools/ipactl @@ -35,6 +35,7 @@ from ipapython import config, dogtag from ipaplatform import tasks from ipapython.dn import DN from ipaplatform import services +from ipaplatform.paths import paths class IpactlError(ScriptError): pass @@ -221,7 +222,7 @@ def ipa_start(options): # that are already running and just return, so that the # stop() method of the base class will simply fill in the # service file again - os.unlink(ipaservices.SVC_LIST_FILE) + os.unlink(paths.SVC_LIST_FILE) dirsrv = services.knownservices.dirsrv try: @@ -303,7 +304,7 @@ def ipa_stop(options): # remove file with list of started services try: - os.unlink(ipaservices.SVC_LIST_FILE) + os.unlink(paths.SVC_LIST_FILE) except OSError: pass -- cgit