Mute systemd output (#737897)

This commit is contained in:
Petr Sabata 2011-09-13 13:39:06 +02:00
parent b7210ab7a2
commit 61999fd6b7

View File

@ -1,6 +1,6 @@
Name: lldpad Name: lldpad
Version: 0.9.43 Version: 0.9.43
Release: 2%{?dist} Release: 3%{?dist}
Summary: Intel LLDP Agent Summary: Intel LLDP Agent
Group: System Environment/Daemons Group: System Environment/Daemons
License: GPLv2 License: GPLv2
@ -119,18 +119,19 @@ rm -rf %{buildroot}/etc/init.d
%post %post
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
systemctl enable %{name}.service systemctl daemon-reload >/dev/null 2>&1 || :
systemctl enable %{name}.service >/dev/null 2>&1 || :
fi fi
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
systemctl stop %{name}.service systemctl --no-reload disable %{name}.service >/dev/null 2>&1 || :
systemctl disable %{name}.service systemctl stop %{name}.service >/dev/null 2>&1 || :
fi fi
%postun %postun
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
systemctl try-restart %{name}.service systemctl try-restart %{name}.service >/dev/null 2>&1 || :
fi fi
%post devel %post devel
@ -162,6 +163,9 @@ fi
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Tue Sep 13 2011 Petr Sabata <contyk@redhat.com> - 0.9.43-3
- Mute systemd output (#737897)
* Tue Aug 30 2011 Petr Sabata <contyk@redhat.com> - 0.9.43-2 * Tue Aug 30 2011 Petr Sabata <contyk@redhat.com> - 0.9.43-2
- Apply various upstream 0.9.43 bugfixes - Apply various upstream 0.9.43 bugfixes
- Include not yet accepted Jens Osterkamp's patch to fix bug #720080 - Include not yet accepted Jens Osterkamp's patch to fix bug #720080