This is an automated email from the ASF dual-hosted git repository.
zrhoffman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 9a1ee9f Updates the trafficcontrol-health-client RPM spec file.
(#6336)
9a1ee9f is described below
commit 9a1ee9f234bb48325955f14613d60ae5450e30b4
Author: John J. Rushford <[email protected]>
AuthorDate: Fri Nov 5 12:16:57 2021 -0600
Updates the trafficcontrol-health-client RPM spec file. (#6336)
- Ensure the systemd unit service file for the health-client
is read following RPM installation.
---
tc-health-client/build/trafficcontrol-health-client.spec | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tc-health-client/build/trafficcontrol-health-client.spec
b/tc-health-client/build/trafficcontrol-health-client.spec
index 478674a..36dbb58 100644
--- a/tc-health-client/build/trafficcontrol-health-client.spec
+++ b/tc-health-client/build/trafficcontrol-health-client.spec
@@ -88,6 +88,9 @@ if [[ ! -d /var/log/trafficcontrol ]]; then
touch /var/log/trafficcontrol/tc-health-client.log
fi
+# make sure the service unit file is loaded
+systemctl daemon-reload
+
if [[ ${was_active} = "yes" ]]; then
systemctl start tc-health-client
fi