mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed problems with Agent custom instalations. Tiquet: #3419
(cherry picked from commit 3609fe218f25cd778e501e0d22fdd76349d7874b)
This commit is contained in:
parent
f612c521c0
commit
7a88fe6436
@ -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…
x
Reference in New Issue
Block a user