Fix excuting systemctl start lighttpd.service error

(cherry picked from commit 4a60839f51870221dd599d02277947c356250947)
This commit is contained in:
starlet-dx 2022-09-30 10:45:13 +08:00 committed by openeuler-sync-bot
parent d9b2feae4d
commit b1394f0573
2 changed files with 5 additions and 2 deletions

View File

@ -53,7 +53,7 @@
-var.server_root = "/srv/www"
-var.state_dir = "/run"
+var.server_root = "/var/www"
+var.state_dir = "/run/lighttpd"
+var.state_dir = "/var/run"
var.home_dir = "/var/lib/lighttpd"
var.conf_dir = "/etc/lighttpd"

View File

@ -20,7 +20,7 @@
Summary: Lightning fast webserver with light system requirements
Name: lighttpd
Version: 1.4.56
Release: 1
Release: 2
License: BSD-3-Clause and OML and GPLv3 and GPLv2
URL: https://github.com/lighttpd/lighttpd1.4
Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-%{version}.tar.gz
@ -256,6 +256,9 @@ fi
%attr(0700, lighttpd, lighttpd) %dir %{webroot}/
%changelog
* Fri Sep 30 2022 yaoxin <yaoxin30@h-partners.com> - 1.4.56-2
- Fix excuting systemctl start lighttpd.service error
* Wed Sep 21 2022 yaoxin <yaoxin30@h-partners.com> - 1.4.56-1
- Update to 1.4.56 and fix CVE-2022-37797