2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Modified agent isntaller to deal with specified user installation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
40219f78c3
commit
11b1b9aaad
|
@ -1,3 +1,8 @@
|
|||
2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* pandora_agent_installer: Modified agent isntaller to deal with
|
||||
specified user installation.
|
||||
|
||||
2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* plugins/pandora_update: Modified plugin for agent autoupdate.
|
||||
|
|
|
@ -294,11 +294,11 @@ install () {
|
|||
chmod 755 $PANDORA_BASE$PANDORA_EXEC_BIN
|
||||
if [ "$OS_NAME" = "FreeBSD" ]
|
||||
then
|
||||
chown root:wheel $PANDORA_BASE$PANDORA_BIN
|
||||
chown root:wheel $PANDORA_BASE$PANDORA_EXEC_BIN
|
||||
chown $PANDORA_USER:wheel $PANDORA_BASE$PANDORA_BIN
|
||||
chown $PANDORA_USER:wheel $PANDORA_BASE$PANDORA_EXEC_BIN
|
||||
else
|
||||
chown root:root $PANDORA_BASE$PANDORA_BIN
|
||||
chown root:root $PANDORA_BASE$PANDORA_EXEC_BIN
|
||||
chown $PANDORA_USER:root $PANDORA_BASE$PANDORA_BIN
|
||||
chown $PANDORA_USER:root $PANDORA_BASE$PANDORA_EXEC_BIN
|
||||
fi
|
||||
|
||||
echo "Copying Pandora FMS Agent configuration file to $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf..."
|
||||
|
@ -339,7 +339,7 @@ install () {
|
|||
chmod -R 770 $PANDORA_BASE$PANDORA_TEMP
|
||||
chmod 775 $PANDORA_BASE$PANDORA_TEMP
|
||||
else
|
||||
chown root:root $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
|
||||
chown $PANDORA_USER:root $PANDORA_BASE$PANDORA_LOG_DIR/$PANDORA_LOG
|
||||
fi
|
||||
|
||||
echo "Copying default agent configuration to $PANDORA_BASE$PANDORA_CFG/pandora_agent.conf"
|
||||
|
|
Loading…
Reference in New Issue