From 3609fe218f25cd778e501e0d22fdd76349d7874b Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 25 Feb 2016 11:49:56 +0100 Subject: [PATCH] Fixed problems with Agent custom instalations. Tiquet: #3419 --- pandora_agents/unix/pandora_agent_installer | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_agents/unix/pandora_agent_installer b/pandora_agents/unix/pandora_agent_installer index 189c425d0f..1339999b31 100644 --- a/pandora_agents/unix/pandora_agent_installer +++ b/pandora_agents/unix/pandora_agent_installer @@ -471,6 +471,7 @@ install () { then [ -d $DESTDIR/etc/logrotate.d ] && mkdir -p $DESTDIR/etc/logrotate.d echo "Creating logrotate.d entry for Pandora FMS log management" + echo "$PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG" > pandora_agent_logrotate cp pandora_agent_logrotate $DESTDIR/etc/logrotate.d/pandora_agent else echo "Please add a log rotation schedule manually to your log rotation daemon (if any)"