summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-07-01 12:21:47 -0400
committerStephen Gallagher <sgallagh@redhat.com>2013-07-02 09:08:11 -0400
commit875a55a818819f729c25f474078a672db8c96a50 (patch)
treec6b1b975627203422e52f24648bca47b18b22527
parent6df7ec09c17c3be8bfadff125daaf7a5738d1436 (diff)
downloadsssd-875a55a818819f729c25f474078a672db8c96a50.tar.gz
sssd-875a55a818819f729c25f474078a672db8c96a50.tar.bz2
sssd-875a55a818819f729c25f474078a672db8c96a50.zip
Remove sysv->systemd upgrade routines
There are no longer any Fedora platforms running SSSD with SYSV init scripts. We don't need the upgrade logic any more.
-rw-r--r--contrib/sssd.spec.in12
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index fd19f7cc..a22bc9a6 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -738,18 +738,6 @@ if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart sssd.service >/dev/null 2>&1 || :
fi
-%triggerun -- sssd < 1.9.90-1
-# Save the current service runlevel info
-# User must manually run systemd-sysv-convert --apply sssd
-# to migrate them to systemd targets
-/usr/bin/systemd-sysv-convert --save sssd >/dev/null 2>&1 ||:
-
-# If the package is allowed to autostart:
-/bin/systemctl --no-reload enable sssd.service >/dev/null 2>&1 ||:
-
-# Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del sssd >/dev/null 2>&1 || :
-/bin/systemctl try-restart sssd.service >/dev/null 2>&1 || :
%else
# sysv
%post common