[rwall] Remove syslog.target from unit file
Honza Horak
hhorak at fedoraproject.org
Fri May 24 10:38:33 UTC 2013
commit 1f85f88497284a98f79e24ed47838752c486a535
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date: Fri May 24 12:35:36 2013 +0200
Remove syslog.target from unit file
rwall.spec | 14 ++++----------
rwalld.service | 4 ++--
2 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/rwall.spec b/rwall.spec
index 31b9f89..953f683 100644
--- a/rwall.spec
+++ b/rwall.spec
@@ -1,7 +1,7 @@
Summary: Client for sending messages to a host's logged in users
Name: rwall
Version: 0.17
-Release: 39%{?dist}
+Release: 40%{?dist}
License: BSD
Url: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/
Group: System Environment/Daemons
@@ -28,7 +28,6 @@ Group: System Environment/Daemons
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
-Requires(post): systemd-sysv
Requires: portmap
BuildRequires: systemd-units
@@ -78,14 +77,6 @@ install -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_unitdir}/
%post server
%systemd_post rwalld.service
-# Package with native systemd unit file is installed for the first time
-%triggerun -- rwall-server < 0.17-33
-%{_bindir}/systemd-sysv-convert --save rwalld >/dev/null 2>&1 ||:
-
-# Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del rwalld >/dev/null 2>&1 || :
-/bin/systemctl try-restart rwalld.service >/dev/null 2>&1 || :
-
%preun server
%systemd_preun rwalld.service
@@ -103,6 +94,9 @@ install -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_unitdir}/
%{_unitdir}/*
%changelog
+* Fri May 24 2013 Honza Horak <hhorak at redhat.com> - 0.17-40
+- Remove syslog.target from unit file
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.17-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/rwalld.service b/rwalld.service
index 8ab0ed1..ec035bd 100644
--- a/rwalld.service
+++ b/rwalld.service
@@ -1,7 +1,7 @@
[Unit]
Description=Write Messages to Users Currently Logged in Server
-Requires=syslog.target network.target rpcbind.service
-After=rpcbind.service
+Requires=network.target rpcbind.service
+After=syslog.target network.target rpcbind.service
[Service]
Type=simple
More information about the scm-commits
mailing list