fix excuting systemctl start service error

(cherry picked from commit b6304a85e2435581218d7e603afd7785c9a13eb8)
This commit is contained in:
baizg1107 2022-02-19 18:26:51 +08:00 committed by openeuler-sync-bot
parent 3a9a033a6b
commit 240d748e0d
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Description=Lightning Fast Webserver With Light System Requirements
After=syslog.target network.target
[Service]
PIDFile=/run/lighttpd.pid
PIDFile=/var/run/lighttpd.pid
EnvironmentFile=-/etc/sysconfig/lighttpd
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -USR1 $MAINPID

View File

@ -20,7 +20,7 @@
Summary: Lightning fast webserver with light system requirements
Name: lighttpd
Version: 1.4.63
Release: 2
Release: 3
License: BSD-3-Clause and OML and GPLv3 and GPLv2
URL: https://github.com/lighttpd/lighttpd1.4
Source0: https://github.com/lighttpd/lighttpd1.4/archive/lighttpd-1.4.63.tar.gz
@ -258,6 +258,9 @@ fi
%attr(0700, lighttpd, lighttpd) %dir %{webroot}/
%changelog
* Sat Feb 19 2022 baizhonggui <baizhonggui@huawei.com> - 1.4.63-3
- Fix excuting systemctl start lighttpd.service failed
* Fri Jan 14 2022 yaoxin <yaoxin30@huawei.com> - 1.4.63-2
- Fix CVE-2022-22707