summaryrefslogtreecommitdiffstats
path: root/ipapython/services.py.in
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2012-10-22 20:48:25 -0400
committerRob Crittenden <rcritten@redhat.com>2012-11-01 10:58:19 -0400
commit1ef651e7f9f5f940051dc470385aa08eefcd60af (patch)
treeff426b99e2c934073ee78f6250849976f27fc6b8 /ipapython/services.py.in
parent09dbc1f36bbc14c1224e45778cbc59586dfeea75 (diff)
downloadfreeipa-1ef651e7f9f5f940051dc470385aa08eefcd60af.tar.gz
freeipa-1ef651e7f9f5f940051dc470385aa08eefcd60af.tar.xz
freeipa-1ef651e7f9f5f940051dc470385aa08eefcd60af.zip
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
Diffstat (limited to 'ipapython/services.py.in')
-rw-r--r--ipapython/services.py.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipapython/services.py.in b/ipapython/services.py.in
index 8fe663763..16b62ca85 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 *