diff --git a/rpm/lemonldap-ng.spec b/rpm/lemonldap-ng.spec index 1e3fe3512af547051a417cc7dfb4b4d4a08750a9..a85da20def434b429247004a8ab6f72423e71e8f 100644 --- a/rpm/lemonldap-ng.spec +++ b/rpm/lemonldap-ng.spec @@ -336,11 +336,10 @@ rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server mkdir -p %{buildroot}%{_tmpfilesdir} install -m644 fastcgi-server/systemd/llng-fastcgi-server.tmpfile \ %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf -sed -i 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \ - %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf -sed -i 's:__USER__:%{lm_apacheuser}:' \ - %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf -sed -i 's:__GROUP__:%{lm_apachegroup}:' \ +sed -i \ + -e 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \ + -e 's:__USER__:%{lm_apacheuser}:' \ + -e 's:__GROUP__:%{lm_apachegroup}:' \ %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf # UWSGI Application