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
|
||||
|
||||
if [ ! -e /etc/pandora/collections ]; then
|
||||
ln -s /usr/share/pandora_agent/collections /etc/pandora
|
||||
mkdir -p /etc/pandora/collections
|
||||
fi
|
||||
|
||||
mkdir -p /var/spool/pandora/data_out
|
||||
|
|
|
@ -88,7 +88,7 @@ if [ ! -e /etc/pandora/plugins ]; then
|
|||
fi
|
||||
|
||||
if [ ! -e /etc/pandora/collections ]; then
|
||||
ln -s /usr/share/pandora_agent/collections /etc/pandora
|
||||
mkdir /etc/pandora/collections
|
||||
fi
|
||||
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
|
||||
|
||||
echo "Copying Pandora FMS Agent collections to $PANDORA_BASE$PANDORA_HOME/collections..."
|
||||
cp -r collections $PANDORA_BASE$PANDORA_HOME
|
||||
echo "Creating the collections directory in to $PANDORA_BASE$PANDORA_HOME/collections..."
|
||||
mkdir -p $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
|
||||
|
||||
|
|
Loading…
Reference in New Issue