Fixed problems with Agent custom instalations. Tiquet: #3419
This commit is contained in:
parent
f41949cf57
commit
3609fe218f
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue