From 1ef651e7f9f5f940051dc470385aa08eefcd60af Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 22 Oct 2012 20:48:25 -0400 Subject: 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 --- ipapython/services.py.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipapython/services.py.in') diff --git a/ipapython/services.py.in b/ipapython/services.py.in index 8fe66376..16b62ca8 100644 --- a/ipapython/services.py.in +++ b/ipapython/services.py.in @@ -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 * -- cgit