From 240d748e0d85664ab529e56c7deb5f5f60330307 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Sat, 19 Feb 2022 18:26:51 +0800 Subject: [PATCH] fix excuting systemctl start service error (cherry picked from commit b6304a85e2435581218d7e603afd7785c9a13eb8) --- lighttpd.service | 2 +- lighttpd.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lighttpd.service b/lighttpd.service index 86429cb..3e563cd 100644 --- a/lighttpd.service +++ b/lighttpd.service @@ -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 diff --git a/lighttpd.spec b/lighttpd.spec index 3e6892e..0f7bc31 100644 --- a/lighttpd.spec +++ b/lighttpd.spec @@ -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 - 1.4.63-3 +- Fix excuting systemctl start lighttpd.service failed + * Fri Jan 14 2022 yaoxin - 1.4.63-2 - Fix CVE-2022-22707 -- Gitee