Correct systemd unitfiles permissions
This commit is contained in:
parent
61d9b5ec8a
commit
63bda35d35
11
bacula.spec
11
bacula.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 5.2.13
|
Version: 5.2.13
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||||
# See LICENSE for details
|
# See LICENSE for details
|
||||||
License: AGPLv3 with exceptions
|
License: AGPLv3 with exceptions
|
||||||
@ -432,9 +432,9 @@ install -p -m 644 -D scripts/logwatch/services.bacula.conf %{buildroot}%{_syscon
|
|||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
# Systemd unit files
|
# Systemd unit files
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
install -p -m 755 -D %{SOURCE10} %{buildroot}%{_unitdir}/bacula-fd.service
|
install -p -m 644 -D %{SOURCE10} %{buildroot}%{_unitdir}/bacula-fd.service
|
||||||
install -p -m 755 -D %{SOURCE11} %{buildroot}%{_unitdir}/bacula-dir.service
|
install -p -m 644 -D %{SOURCE11} %{buildroot}%{_unitdir}/bacula-dir.service
|
||||||
install -p -m 755 -D %{SOURCE12} %{buildroot}%{_unitdir}/bacula-sd.service
|
install -p -m 644 -D %{SOURCE12} %{buildroot}%{_unitdir}/bacula-sd.service
|
||||||
%else
|
%else
|
||||||
# Initscripts
|
# Initscripts
|
||||||
install -p -m 755 -D %{SOURCE7} %{buildroot}%{_initrddir}/bacula-fd
|
install -p -m 755 -D %{SOURCE7} %{buildroot}%{_initrddir}/bacula-fd
|
||||||
@ -879,6 +879,9 @@ fi
|
|||||||
%{_libdir}/nagios/plugins/check_bacula
|
%{_libdir}/nagios/plugins/check_bacula
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 27 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-12
|
||||||
|
- Correct systemd unitfiles permissions
|
||||||
|
|
||||||
* Tue May 28 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-11
|
* Tue May 28 2013 Petr Hracek <phracek@redhat.com> - 5.2.13-11
|
||||||
- Fix for nonfree code (#967417)
|
- Fix for nonfree code (#967417)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user