Skip to content

Commit

Permalink
Remove execution bit for systemd service conf file.
Browse files Browse the repository at this point in the history
This is to avoid 'Configuration file /usr/lib/systemd/system/radiusd.service is marked executable. Please remove executable permission bits. ' log messages
  • Loading branch information
pwdng committed Nov 6, 2017
1 parent ba91811 commit c4bed34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redhat/freeradius.spec
Expand Up @@ -477,7 +477,7 @@ touch $RPM_BUILD_ROOT/var/log/radius/{radutmp,radius.log}

# For systemd based systems, that define _unitdir, install the radiusd unit
%if %{?_unitdir:1}%{!?_unitdir:0}
install -D -m 755 %{SOURCE100} $RPM_BUILD_ROOT/%{_unitdir}/radiusd.service
install -D -m 644 %{SOURCE100} $RPM_BUILD_ROOT/%{_unitdir}/radiusd.service
# For SystemV install the init script
%else
install -D -m 755 %{SOURCE100} $RPM_BUILD_ROOT/%{initddir}/radiusd
Expand Down

0 comments on commit c4bed34

Please sign in to comment.