[rusers] Remove SysV init converting

Honza Horak hhorak at fedoraproject.org
Mon Jul 29 15:39:52 UTC 2013


commit 7a1c5576869346bc0e98a59a72c50194850acfbf
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Mon Jul 29 17:39:29 2013 +0200

    Remove SysV init converting

 rusers.spec |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/rusers.spec b/rusers.spec
index 7e4977a..a8d1a06 100644
--- a/rusers.spec
+++ b/rusers.spec
@@ -133,17 +133,6 @@ install %SOURCE3 ${RPM_BUILD_ROOT}%{_unitdir}/rstatd.service
 %systemd_post rstatd.service
 %systemd_post rusersd.service
 
-%triggerun -- rusers-server < 0.17-64
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-# Save the current service runlevel info
-# User must manually run systemd-sysv-convert --apply httpd
-# to migrate them to systemd targets
-/usr/bin/systemd-sysv-convert --save rstatd rusersd >/dev/null 2>&1 ||:
-
-# Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del rstatd rusersd >/dev/null 2>&1 || :
-/bin/systemctl try-restart rstatd.service rusersd.service >/dev/null 2>&1 || :
-
 %preun server
 %systemd_preun rstatd.service
 %systemd_preun rusersd.service
@@ -169,6 +158,7 @@ install %SOURCE3 ${RPM_BUILD_ROOT}%{_unitdir}/rstatd.service
 * Mon Jul 26 2013 Honza Horak <hhorak at redhat.com> - 0.17-77
 - Free already alocated memory when parsing of RPC request failed
 - Require systemd instead of systemd-units
+- Remove SysV init converting
 
 * Fri May 24 2013 Honza Horak <hhorak at redhat.com> - 0.17-76
 - Remove syslog.target from unit requires


More information about the scm-commits mailing list