From 74fcc5e0c83b1a482efe102f81a90472687eea07 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Wed, 10 Apr 2024 13:15:40 -0500 Subject: [PATCH] Changed cf-apache systemd unit to reload configuration gracefully apachectl graceful doesn't close currently open connections. Ticket: ENT-11526 Changelog: title (cherry picked from commit d3e0ed02ad30c61707d80d6ba93ece8b96810cfb) --- misc/systemd/cf-apache.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/systemd/cf-apache.service.in b/misc/systemd/cf-apache.service.in index dea7c2356f..e0acc7a75c 100644 --- a/misc/systemd/cf-apache.service.in +++ b/misc/systemd/cf-apache.service.in @@ -10,6 +10,7 @@ PartOf=cfengine3.service Type=forking ExecStart=@workdir@/httpd/bin/apachectl start ExecStop=@workdir@/httpd/bin/apachectl stop +ExecReload=@workdir@/httpd/bin/apachectl graceful PIDFile=@workdir@/httpd/httpd.pid Restart=always RestartSec=10