]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove execution bit for systemd service conf file. 2108/head
authorPhilippe Wooding <philippe.wooding@networkradius.com>
Mon, 6 Nov 2017 15:15:00 +0000 (16:15 +0100)
committerPhilippe Wooding <philippe.wooding@networkradius.com>
Mon, 6 Nov 2017 15:15:00 +0000 (16:15 +0100)
This is to avoid 'Configuration file /usr/lib/systemd/system/radiusd.service is marked executable. Please remove executable permission bits. ' log messages

redhat/freeradius.spec

index 8e10ccdf8f0704184b1e8531a24a3130379ae8d9..4cb4c701119e655f93e2210ad654dbae460cc3d7 100644 (file)
@@ -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