Изменил(а) на 'SPECS/openlitespeed.spec'

pull/2/head
ebasov 3 months ago
parent 87e4475ac1
commit cd045caea2

@ -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 <ebasov@msvsphere-os.ru> - 1.8.2
* Wed Sep 18 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 1.8.2-1
- Rebuild for MSVSphere 9.4

Loading…
Cancel
Save