From 7770a807d39fda84cecd376c5714835293807a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= Date: Fri, 19 Jul 2024 21:25:46 +0200 Subject: [PATCH] Resolves: RHEL-49856: htcacheclean.service missing [Install] section --- htcacheclean.service | 5 +++++ httpd.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/htcacheclean.service b/htcacheclean.service index d1e9d60..e3eeef9 100644 --- a/htcacheclean.service +++ b/htcacheclean.service @@ -7,5 +7,10 @@ Documentation=man:htcacheclean.service(8) Type=forking User=apache PIDFile=/run/httpd/htcacheclean/pid +Environment=LANG=C EnvironmentFile=/etc/sysconfig/htcacheclean ExecStart=/usr/sbin/htcacheclean -P /run/httpd/htcacheclean/pid -d $INTERVAL -p $CACHE_ROOT -l $LIMIT $OPTIONS +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/httpd.spec b/httpd.spec index 06dbef9..63ceec2 100644 --- a/httpd.spec +++ b/httpd.spec @@ -13,7 +13,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.4.59 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://httpd.apache.org/ Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc @@ -827,6 +827,9 @@ exit $rv %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Fri Jul 19 2024 Luboš Uhliarik - 2.4.59-7 +- Resolves: RHEL-49856: htcacheclean.service missing [Install] section + * Thu May 30 2024 Joe Orton - 2.4.59-6 - mod_ssl: restore SSL_OP_NO_RENEGOTIATE support Related: RHEL-14668