Save service name on service startup

This is done as a default action of the ancestor class so that no matter what
platform is currently used this code is always the same and the name is the
wellknown service name.
This information will be used by ipacl to stop only and all the services that
have been started by any ipa tool/install script
This commit is contained in:
Simo Sorce
2012-10-22 20:48:25 -04:00
committed by Rob Crittenden
parent 09dbc1f36b
commit 1ef651e7f9
4 changed files with 29 additions and 0 deletions

View File

@@ -51,4 +51,8 @@ backup_and_replace_hostname = backup_and_replace_hostname_default
def check_selinux_status():
return
from ipapython.platform.base import SVC_LIST_FILE
def get_svc_list_file():
return SVC_LIST_FILE
from ipapython.platform.SUPPORTED_PLATFORM import *