diff options
| author | Matthew Smith <mgsmith@netgate.com> | 2017-08-30 13:36:20 -0500 |
|---|---|---|
| committer | Matthew Smith <mgsmith@netgate.com> | 2017-08-30 14:02:37 -0500 |
| commit | 398455d69167d3072a9d2d52a9ba64d0f45ee017 (patch) | |
| tree | d3125f3fb91804920ff451a9be5a4d03561295ac | |
| parent | cc1edd39297bd763e0e1a942e15881a3ac99453a (diff) | |
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>
| -rw-r--r-- | redhat/frr.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index cc0632b562..ea8a312364 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 |
