Commit dac7df6e authored by Xavier Bachelot's avatar Xavier Bachelot

Simplify tmpfiles conf installation

parent 9550d48c
...@@ -336,11 +336,10 @@ rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server ...@@ -336,11 +336,10 @@ rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server
mkdir -p %{buildroot}%{_tmpfilesdir} mkdir -p %{buildroot}%{_tmpfilesdir}
install -m644 fastcgi-server/systemd/llng-fastcgi-server.tmpfile \ install -m644 fastcgi-server/systemd/llng-fastcgi-server.tmpfile \
%{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \ sed -i \
%{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf -e 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \
sed -i 's:__USER__:%{lm_apacheuser}:' \ -e 's:__USER__:%{lm_apacheuser}:' \
%{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf -e 's:__GROUP__:%{lm_apachegroup}:' \
sed -i 's:__GROUP__:%{lm_apachegroup}:' \
%{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
# UWSGI Application # UWSGI Application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment