!30 [sync] PR-29: 修复lighttpd.service服务启动失败

From: @openeuler-sync-bot 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2022-09-30 06:11:49 +00:00 committed by Gitee
commit 6669d30626
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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