summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php71.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php71.spec b/php71.spec
index 13f1a50..69ec4a8 100644
--- a/php71.spec
+++ b/php71.spec
@@ -1651,7 +1651,7 @@ install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/php-fpm
# Environment file
%if 0%{?fedora} >= 26
-sed -e '/EnvironmentFile/d' -i $RPM_BUILD_ROOT%{_root_initddir}/%{?scl_prefix}php-fpm
+sed -e '/EnvironmentFile/d' -i $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}php-fpm.service
%else
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm