diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2017-04-07 15:00:01 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2017-05-03 09:53:02 +0200 |
commit | fa1cea86740dd7217bb733eb845f1da7095ccfa6 (patch) | |
tree | 0fe84bbf6227a4725de55a7876acb9e3f7ee9e8d | |
parent | 8bbe26cfc686eae35c99899314c15016b2cce817 (diff) | |
download | sssd-fa1cea86740dd7217bb733eb845f1da7095ccfa6.tar.gz sssd-fa1cea86740dd7217bb733eb845f1da7095ccfa6.tar.xz sssd-fa1cea86740dd7217bb733eb845f1da7095ccfa6.zip |
SPEC: Move kcm scriptlets to systemd section
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
-rw-r--r-- | contrib/sssd.spec.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 270448d3d..550537865 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -1316,6 +1316,18 @@ getent passwd sssd >/dev/null || useradd -r -g sssd -d / -s /sbin/nologin -c "Us %postun dbus %systemd_postun_with_restart sssd-ifp.service +%if (0%{?with_kcm} == 1) +%post kcm +%systemd_post sssd-kcm.socket + +%preun kcm +%systemd_preun sssd-kcm.socket + +%postun kcm +%systemd_postun_with_restart sssd-kcm.socket +%systemd_postun_with_restart sssd-kcm.service +%endif + %else # sysv %post common @@ -1366,18 +1378,6 @@ fi %postun -n libsss_simpleifp -p /sbin/ldconfig -%if (0%{?with_kcm} == 1) -%post kcm -%systemd_post sssd-kcm.socket - -%preun kcm -%systemd_preun sssd-kcm.socket - -%postun kcm -%systemd_postun_with_restart sssd-kcm.socket -%systemd_postun_with_restart sssd-kcm.service -%endif - %changelog * Mon Mar 15 2010 Stephen Gallagher <sgallagh@redhat.com> - @PACKAGE_VERSION@-0@PRERELEASE_VERSION@ - Automated build of the SSSD |