From 18af19f4e4ca8156252c662d7cd9c15f47bd9af0ff14d303703dfece2e35a752 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 22 Dec 2013 18:51:04 +0000 Subject: [PATCH] Remove sysvinit calls OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=107 --- sssd.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sssd.spec b/sssd.spec index 89927b7..5623fce 100644 --- a/sssd.spec +++ b/sssd.spec @@ -358,16 +358,13 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN} %service_add_post sssd.service %endif -%preun -%stop_on_removal sssd %if 0%{?_unitdir:1} +%preun %service_del_preun sssd.service %endif %postun /sbin/ldconfig -%restart_on_update sssd -%insserv_cleanup %if 0%{?_unitdir:1} %service_del_postun sssd.service %endif