Fixed /var/log/pandora directory is not created.

(cherry picked from commit a65346bef0)
This commit is contained in:
Junichi Satoh 2016-02-01 19:01:17 +09:00
parent f766bef9bb
commit 619ed96bfb
1 changed files with 3 additions and 0 deletions

View File

@ -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