Fixed bad path to systemctl in /etc/NetworkManager/dispatcher.d/13-named (#844047)

This commit is contained in:
Tomas Hozza 2012-07-30 15:18:43 +02:00
parent 06bfaa4fef
commit 99402419a5
2 changed files with 8 additions and 5 deletions

View File

@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind Name: bind
License: ISC License: ISC
Version: 9.9.1 Version: 9.9.1
Release: 5.%{PATCHVER}%{?dist} Release: 6.%{PATCHVER}%{?dist}
Epoch: 32 Epoch: 32
Url: http://www.isc.org/products/BIND/ Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -771,6 +771,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif %endif
%changelog %changelog
* Mon Jul 30 2012 Tomas Hozza <thozza@redhat.com> 32:9.9.1-6.P2
- Fixed bad path to systemctl in /etc/NetworkManager/dispatcher.d/13-named (#844047)
* Thu Jul 26 2012 Adam Tkac <atkac redhat com> 32:9.9.1-5.P2 * Thu Jul 26 2012 Adam Tkac <atkac redhat com> 32:9.9.1-5.P2
- update to 9.9.1-P2 - update to 9.9.1-P2

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
if [ "$2" = 'up' -o "$2" = 'down' ]; then if [ "$2" = 'up' -o "$2" = 'down' ]; then
/sbin/systemctl reload named.service > /dev/null 2>&1 || true /usr/bin/systemctl reload named.service > /dev/null 2>&1 || true
/sbin/systemctl reload named-chroot.service > /dev/null 2>&1 || true /usr/bin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
/sbin/systemctl reload named-sdb.service > /dev/null 2>&1 || true /usr/bin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
/sbin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true /usr/bin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
fi fi