summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php.spec b/php.spec
index ac610a1..313e841 100644
--- a/php.spec
+++ b/php.spec
@@ -1422,7 +1422,7 @@ sed -e 's:/run:%{_localstatedir}/run:' \
# 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