[Freeipa-devel] [freeipa PR#748][comment] restore: restart/reload gssproxy after restore

pvoborni freeipa-github-notification at redhat.com
Fri Apr 28 12:39:41 UTC 2017


  URL: https://github.com/freeipa/freeipa/pull/748
Title: #748: restore: restart/reload gssproxy after restore

pvoborni commented:
"""
Should work:

```
def debian_service_class_factory(name, api=None):
    if name == 'dirsrv':
        return redhat_services.RedHatDirectoryService(name, api)
    if name == 'domainname':
        return DebianNoService(name, api)
    if name == 'ipa':
        return redhat_services.RedHatIPAService(name, api)
    if name == 'messagebus':
        return DebianNoService(name, api)
    if name == 'ntpd':
        return DebianSysvService("ntp", api)
    return DebianService(name, api)
```
so it's `DebianService`

```
class DebianService(redhat_services.RedHatService):
    system_units = debian_system_units
```
then
```
class RedHatService(base_services.SystemdService):
```

I.e. it is not `DebianSysvService`
"""

See the full comment at https://github.com/freeipa/freeipa/pull/748#issuecomment-297987349


More information about the Freeipa-devel mailing list