From b0ca6c8cf36b49c88363901ec87849c48fa595cf Mon Sep 17 00:00:00 2001 From: chengyechun Date: Wed, 21 Dec 2022 10:03:19 +0800 Subject: [PATCH] add ExecStartPost option to htcacheclean.service for solving error message when htcacheclean starting --- httpd.service | 1 + httpd.spec | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/httpd.service b/httpd.service index 6ff4e8b..7982ff5 100644 --- a/httpd.service +++ b/httpd.service @@ -22,6 +22,7 @@ Type=notify Environment=LANG=C ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND +ExecStartPost=/usr/bin/sleep 0.1 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful # Send SIGWINCH for graceful stop KillSignal=SIGWINCH diff --git a/httpd.spec b/httpd.spec index e0c38d0..6610d8e 100644 --- a/httpd.spec +++ b/httpd.spec @@ -8,7 +8,7 @@ Name: httpd Summary: Apache HTTP Server Version: 2.4.43 -Release: 18 +Release: 19 License: ASL 2.0 URL: https://httpd.apache.org/ Source0: https://archive.apache.org/dist/httpd/httpd-%{version}.tar.bz2 @@ -536,6 +536,12 @@ exit $rv %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Wed Dec 21 2022 chengyechun - 2.4.43-19 +- Type:CVE +- ID:NA +- SUG:restart +- DESC:add ExecStartPost option to htcacheclean.service for solving error message when htcacheclean starting + * Tue Dec 13 2022 chengyechun - 2.4.43-18 - Type:CVE - ID: -- Gitee