mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Convert server install code to platform-independent access to system services
https://fedorahosted.org/freeipa/ticket/1605
This commit is contained in:
committed by
Martin Kosek
parent
b996a41177
commit
a02e0514f6
@@ -30,6 +30,7 @@ import service
|
||||
import installutils
|
||||
from ipapython import sysrestore
|
||||
from ipapython import ipautil
|
||||
from ipapython import services as ipaservices
|
||||
from ipalib import util
|
||||
from ipalib import errors
|
||||
|
||||
@@ -453,7 +454,7 @@ class KrbInstance(service.Service):
|
||||
pass
|
||||
|
||||
if not enabled is None and not enabled:
|
||||
self.chkconfig_off()
|
||||
self.disable()
|
||||
|
||||
if not running is None and running:
|
||||
self.start()
|
||||
|
||||
Reference in New Issue
Block a user