Remove syslog.target from unit file
This commit is contained in:
parent
478a6a9acf
commit
1f85f88497
14
rwall.spec
14
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@redhat.com> - 0.17-40
|
||||
- Remove syslog.target from unit file
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-39
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue