From cd045caea29bfca749a42472374ec1eaafe87336 Mon Sep 17 00:00:00 2001 From: ebasov Date: Mon, 7 Oct 2024 14:32:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'SPECS/openlitespeed.spec'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SPECS/openlitespeed.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SPECS/openlitespeed.spec b/SPECS/openlitespeed.spec index 51eac19..8857d95 100644 --- a/SPECS/openlitespeed.spec +++ b/SPECS/openlitespeed.spec @@ -90,8 +90,8 @@ rm -f %{buildroot}%{_lsws_dir}/admin/conf/admin_config.conf cp -pr dist/admin/conf/admin_config_ssl.conf.in %{buildroot}%{_lsws_dir}/admin/conf/admin_config.conf sed -i -e "s:%ADMIN_PORT%:7080:g" %{buildroot}%{_lsws_dir}/admin/conf/admin_config.conf sed -i -e "s:%SSL_HOSTNAME%:webadmin:g" %{buildroot}%{_lsws_dir}/admin/conf/admin_config.conf -install -m 755 -d %{buildroot}/%{_sysconfdir}/systemd/system -cp %{buildroot}%{_lsws_dir}/admin/misc/lshttpd.service %{buildroot}%{_sysconfdir}/systemd/system +install -m 755 -d %{buildroot}%{_unitdir} +cp %{buildroot}%{_lsws_dir}/admin/misc/lshttpd.service %{buildroot}%{_unitdir} chmod u+w %{buildroot}%{_lsws_dir}/admin/misc/lsws.rc sed "s:%LSWS_CTRL%:/usr/lsws/bin/lswsctrl:" dist/admin/misc/lsws.rc.in > %{buildroot}%{_lsws_dir}/admin/misc/lsws.rc sed -i -e 's:fcgi-bin/lsphp:$SERVER_ROOT/lsphp73/bin/lsphp:g' %{buildroot}%{_lsws_dir}/conf/httpd_config.conf @@ -238,7 +238,7 @@ echo "To start the openlitespeed server, run the command: systemctl start lsws" %files -/etc/systemd/system/lshttpd.service +%{_unitdir}/lshttpd.service %doc README.md %dir %{_lsws_dir} %{_lsws_dir}/* @@ -257,6 +257,6 @@ echo "To start the openlitespeed server, run the command: systemctl start lsws" %{_lsws_dir}/modules/mod_lua.so %changelog -* Wed Sep 18 2024 Eduard Basov - 1.8.2 +* Wed Sep 18 2024 Eduard Basov - 1.8.2-1 - Rebuild for MSVSphere 9.4