diff options
author | Simo Sorce <ssorce@redhat.com> | 2012-10-22 17:01:58 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-11-01 14:24:41 -0400 |
commit | 57132797120bcd3f68380b6b74343af2d83e0657 (patch) | |
tree | 25b9cdf6b8975cb1e2aa175f63d0f47b657e80fa /ipapython/services.py.in | |
parent | 895b2e2b4339f1b9edc2bc995e7548ac118ea5a1 (diff) | |
download | freeipa-57132797120bcd3f68380b6b74343af2d83e0657.tar.gz freeipa-57132797120bcd3f68380b6b74343af2d83e0657.tar.xz freeipa-57132797120bcd3f68380b6b74343af2d83e0657.zip |
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
Diffstat (limited to 'ipapython/services.py.in')
-rw-r--r-- | ipapython/services.py.in | 4 |
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 * |