From d1613a47e068eb5c9de107538227800dfe013545 Mon Sep 17 00:00:00 2001 From: Kike Date: Mon, 5 Aug 2019 12:33:02 +0200 Subject: [PATCH 1/2] Changed Dockerfile --- pandora_agents/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_agents/Dockerfile b/pandora_agents/Dockerfile index 109718ae21..5f47d41587 100644 --- a/pandora_agents/Dockerfile +++ b/pandora_agents/Dockerfile @@ -40,7 +40,7 @@ if [ $TIMEZONE != "" ]; then\n \ fi\n \ /etc/init.d/pandora_agent_daemon start\n \ rm -f $0\n \ -bash' \ +tail -f /var/log/pandora/pandora_agent.log' \ >> /entrypoint.sh && \ chmod +x /entrypoint.sh From 889ddef9f63dc153d7b30411fcfbad38c8a52104 Mon Sep 17 00:00:00 2001 From: Kike Date: Mon, 5 Aug 2019 13:09:27 +0200 Subject: [PATCH 2/2] Set execution permissions for installer --- pandora_agents/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_agents/Dockerfile b/pandora_agents/Dockerfile index 5f47d41587..945a74b1c9 100644 --- a/pandora_agents/Dockerfile +++ b/pandora_agents/Dockerfile @@ -14,6 +14,7 @@ RUN yum -y install \ # Install Pandora FMS agent RUN cd /tmp/pandora_agent/unix \ + && chmod +x pandora_agent_installer \ && ./pandora_agent_installer --install # Set default variables