From 619ed96bfb54debe2900e24bf2fe4cd85349a859 Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Mon, 1 Feb 2016 19:01:17 +0900 Subject: [PATCH] Fixed /var/log/pandora directory is not created. (cherry picked from commit a65346bef0b01d69431d4cb6d85d610402f02fdb) --- pandora_agents/unix/pandora_agent.redhat.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index e8e75e9e4b..07bdd03eea 100644 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -94,6 +94,9 @@ if [ ! -e /etc/pandora/collections ]; then fi mkdir -p /var/spool/pandora/data_out +if [ ! -d /var/log/pandora ]; then + mkdir -p /var/log/pandora +fi /sbin/chkconfig --add pandora_agent_daemon /sbin/chkconfig pandora_agent_daemon on