Commit 9550d48c authored by Xavier Bachelot's avatar Xavier Bachelot
Browse files

Simplify unit file installation

parent 9043dd2a
......@@ -327,9 +327,9 @@ find %{buildroot} -name *.bak -exec rm -f {} \;
mkdir -p %{buildroot}%{_unitdir}
install -m644 fastcgi-server/systemd/llng-fastcgi-server.service \
sed -i 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \
sed -i 's:__SBINDIR__:%{lm_sharedir}/sbin:' \
sed -i \
-e 's:__FASTCGISOCKDIR__:%{_rundir}/llng-fastcgi-server:' \
-e 's:__SBINDIR__:%{lm_sharedir}/sbin:' \
rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server
Supports Markdown
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