mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
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>
|
2007-06-18 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
* linux/pandora_agents.spec: Renamed to pandora_agent.spec
|
* linux/pandora_agents.spec: Renamed to pandora_agent.spec
|
||||||
|
@ -79,8 +79,8 @@ install () {
|
|||||||
cp pandora_agent $PANDORA_BIN
|
cp pandora_agent $PANDORA_BIN
|
||||||
chmod 700 $PANDORA_BIN
|
chmod 700 $PANDORA_BIN
|
||||||
|
|
||||||
echo "Copying Pandora FMS Agent contrib dir to $PANDORA_HOME/contrib..."
|
echo "Copying Pandora FMS Agent contrib dir to $PANDORA_HOME/..."
|
||||||
cp -R contrib $PANDORA_HOME
|
cp pandora_agent_daemon $PANDORA_HOME
|
||||||
|
|
||||||
echo "Copying Pandora FMS Agent configuration file to $PANDORA_HOME/pandora_agent.conf..."
|
echo "Copying Pandora FMS Agent configuration file to $PANDORA_HOME/pandora_agent.conf..."
|
||||||
cp pandora_agent.conf $PANDORA_HOME
|
cp pandora_agent.conf $PANDORA_HOME
|
||||||
@ -99,11 +99,10 @@ install () {
|
|||||||
echo "Setting secure permissions and ownership for all Pandora FMS Agent files..."
|
echo "Setting secure permissions and ownership for all Pandora FMS Agent files..."
|
||||||
chown -R root $PANDORA_HOME
|
chown -R root $PANDORA_HOME
|
||||||
chmod -R 600 $PANDORA_TEMP/data_out
|
chmod -R 600 $PANDORA_TEMP/data_out
|
||||||
chmod -R 700 $PANDORA_HOME/contrib
|
|
||||||
chmod 640 $PANDORA_LOG
|
chmod 640 $PANDORA_LOG
|
||||||
chgrp 3 $PANDORA_LOG
|
chgrp 3 $PANDORA_LOG
|
||||||
echo "Linking start-up daemon script at $PANDORA_STARTUP";
|
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
|
chown -R root $PANDORA_BIN
|
||||||
echo "Done."
|
echo "Done."
|
||||||
echo " "
|
echo " "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user