From b72e53b6a25a7f5352310f0e16ca2bd90b73af69 Mon Sep 17 00:00:00 2001 From: Karsten Horsmann Date: Mon, 21 Jun 2021 17:52:49 +0200 Subject: [PATCH] Correct EL systemd permissions Systemd complains about 755 rights of EL service files. "systemd[1]: Configuration file /usr/lib/systemd/system/rtpengine.service is marked executable. Please remove executable permission bits. Proceeding anyway." --- el/rtpengine.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/el/rtpengine.spec b/el/rtpengine.spec index ccf6046ff..0deaa3d5b 100644 --- a/el/rtpengine.spec +++ b/el/rtpengine.spec @@ -122,7 +122,7 @@ install -D -p -m755 recording-daemon/%{binname}-recording %{buildroot}%{_sbindir ## Install the init.d script and configuration file %if 0%{?has_systemd_dirs} -install -D -p -m755 el/%{binname}.service \ +install -D -p -m644 el/%{binname}.service \ %{buildroot}%{_unitdir}/%{binname}.service %else install -D -p -m755 el/%{binname}.init \ @@ -130,7 +130,7 @@ install -D -p -m755 el/%{binname}.init \ %endif %if 0%{?with_transcoding} > 0 %if 0%{?has_systemd_dirs} -install -D -p -m755 el/%{binname}-recording.service \ +install -D -p -m644 el/%{binname}-recording.service \ %{buildroot}%{_unitdir}/%{binname}-recording.service %else install -D -p -m755 el/%{binname}-recording.init \