summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2017-08-30 20:36:20 +0200
committerMatthew Smith <mgsmith@netgate.com>2017-08-30 21:02:37 +0200
commit398455d69167d3072a9d2d52a9ba64d0f45ee017 (patch)
treed3125f3fb91804920ff451a9be5a4d03561295ac /redhat
parentMerge pull request #1059 from opensourcerouting/oldbits-1 (diff)
downloadfrr-398455d69167d3072a9d2d52a9ba64d0f45ee017.tar.xz
frr-398455d69167d3072a9d2d52a9ba64d0f45ee017.zip
redhat: Set permissions on systemd service file
Systemd on CentOS 7.3 logs a warning about the execute bit being set every time the frr service file is invoked by systemctl. Modify the spec file to explicitly set the permissions to 644. Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index cc0632b56..ea8a31236 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -326,7 +326,7 @@ rm -f %{buildroot}%{_libdir}/frr/modules/*.la
# install /etc sources
%if "%{initsystem}" == "systemd"
mkdir -p %{buildroot}%{_unitdir}
-install %{zeb_rh_src}/frr.service \
+install -m644 %{zeb_rh_src}/frr.service \
%{buildroot}%{_unitdir}/frr.service
install %{zeb_rh_src}/frr.init \
%{buildroot}%{_sbindir}/frr