From e5f63454f770e5ee4f16c3fa3822d76d6f497251 Mon Sep 17 00:00:00 2001 From: Kevin Rojas Date: Fri, 28 Aug 2020 14:18:14 +0200 Subject: [PATCH] forced copy for pandora agent service --- pandora_agents/unix/pandora_agent.redhat.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index beb7d66ed5..4c04836233 100644 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -111,7 +111,8 @@ fi if [ `command -v systemctl` ]; then - cp /usr/share/pandora_agent/pandora_agent_daemon.service /usr/lib/systemd/system/ + echo "Copying new version of pandora_agent_daemon service" + cp -f /usr/share/pandora_agent/pandora_agent_daemon.service /usr/lib/systemd/system/ chmod -x /usr/lib/systemd/system/pandora_agent_daemon.service # Enable the services on SystemD systemctl enable pandora_agent_daemon.service