Save service name on service startup/shutdown

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 ipactl 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 17:01:58 -04:00
committed by Simo Sorce
parent 895b2e2b43
commit 5713279712
4 changed files with 50 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 *