mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-2705-eliminar-fichero-empty-en-la-carpeta-collection-del-agente' into 'develop'
Removed .empty from tarball and rpm See merge request artica/pandorafms!1784
This commit is contained in:
commit
6afb1e0312
@ -1 +0,0 @@
|
|||||||
|
|
@ -95,7 +95,7 @@ if [ ! -e /etc/pandora/plugins ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e /etc/pandora/collections ]; then
|
if [ ! -e /etc/pandora/collections ]; then
|
||||||
ln -s /usr/share/pandora_agent/collections /etc/pandora
|
mkdir -p /etc/pandora/collections
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /var/spool/pandora/data_out
|
mkdir -p /var/spool/pandora/data_out
|
||||||
|
@ -88,7 +88,7 @@ if [ ! -e /etc/pandora/plugins ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e /etc/pandora/collections ]; then
|
if [ ! -e /etc/pandora/collections ]; then
|
||||||
ln -s /usr/share/pandora_agent/collections /etc/pandora
|
mkdir /etc/pandora/collections
|
||||||
fi
|
fi
|
||||||
cp -aRf /usr/share/pandora_agent/pandora_agent_logrotate /etc/logrotate.d/pandora_agent
|
cp -aRf /usr/share/pandora_agent/pandora_agent_logrotate /etc/logrotate.d/pandora_agent
|
||||||
|
|
||||||
|
@ -388,8 +388,8 @@ install () {
|
|||||||
|
|
||||||
ln -s $PANDORA_BASE_REAL$PANDORA_HOME/plugins $PANDORA_BASE$PANDORA_CFG
|
ln -s $PANDORA_BASE_REAL$PANDORA_HOME/plugins $PANDORA_BASE$PANDORA_CFG
|
||||||
|
|
||||||
echo "Copying Pandora FMS Agent collections to $PANDORA_BASE$PANDORA_HOME/collections..."
|
echo "Creating the collections directory in to $PANDORA_BASE$PANDORA_HOME/collections..."
|
||||||
cp -r collections $PANDORA_BASE$PANDORA_HOME
|
mkdir -p $PANDORA_BASE$PANDORA_HOME/collections
|
||||||
chmod -R 700 $PANDORA_BASE$PANDORA_HOME/collections
|
chmod -R 700 $PANDORA_BASE$PANDORA_HOME/collections
|
||||||
ln -s $PANDORA_BASE_REAL$PANDORA_HOME/collections $PANDORA_BASE$PANDORA_CFG
|
ln -s $PANDORA_BASE_REAL$PANDORA_HOME/collections $PANDORA_BASE$PANDORA_CFG
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user