2007-06-18 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_installer: Fixed a bug related with the copy of the pandora_agent_daemon file. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7fd6cbb9f6
commit
4aa4ad82d3
|
@ -1,3 +1,8 @@
|
|||
2007-06-18 Manuel Arostegui <marostegui@artica.es>
|
||||
|
||||
* linux/pandora_agent_installer: Fixed a bug related
|
||||
with the copy of the pandora_agent_daemon file.
|
||||
|
||||
2007-06-18 Manuel Arostegui <marostegui@artica.es>
|
||||
|
||||
* linux/pandora_agents.spec: Renamed to pandora_agent.spec
|
||||
|
|
|
@ -78,9 +78,9 @@ install () {
|
|||
echo "Copying Pandora FMS Agent to $PANDORA_BIN..."
|
||||
cp pandora_agent $PANDORA_BIN
|
||||
chmod 700 $PANDORA_BIN
|
||||
|
||||
echo "Copying Pandora FMS Agent contrib dir to $PANDORA_HOME/contrib..."
|
||||
cp -R contrib $PANDORA_HOME
|
||||
|
||||
echo "Copying Pandora FMS Agent contrib dir to $PANDORA_HOME/..."
|
||||
cp pandora_agent_daemon $PANDORA_HOME
|
||||
|
||||
echo "Copying Pandora FMS Agent configuration file to $PANDORA_HOME/pandora_agent.conf..."
|
||||
cp pandora_agent.conf $PANDORA_HOME
|
||||
|
@ -99,11 +99,10 @@ install () {
|
|||
echo "Setting secure permissions and ownership for all Pandora FMS Agent files..."
|
||||
chown -R root $PANDORA_HOME
|
||||
chmod -R 600 $PANDORA_TEMP/data_out
|
||||
chmod -R 700 $PANDORA_HOME/contrib
|
||||
chmod 640 $PANDORA_LOG
|
||||
chgrp 3 $PANDORA_LOG
|
||||
echo "Linking start-up daemon script at $PANDORA_STARTUP";
|
||||
ln -s $PANDORA_HOME/contrib/pandora_agent_daemon $PANDORA_STARTUP
|
||||
ln -s $PANDORA_HOME/pandora_agent_daemon $PANDORA_STARTUP
|
||||
chown -R root $PANDORA_BIN
|
||||
echo "Done."
|
||||
echo " "
|
||||
|
|
Loading…
Reference in New Issue