Skip to content

Commit

Permalink
Merge pull request #26 from SabariArunkumarP/master
Browse files Browse the repository at this point in the history
Fluentbit to be installed/upgraded before apm-agent
  • Loading branch information
gnmahanth authored Jan 6, 2021
2 parents 7c7d546 + e6558a5 commit 2d43e5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -333,24 +333,24 @@ cd $tmp_dir

if [ "$SHOULD_UPGRADE" -eq 1 ];
then
echo "Upgrading sfagent binaries"
upgrade_apm_agent
echo "Upgrading fluent-bit binary"
upgrade_fluent_bit
echo "Upgrading sfagent binaries"
upgrade_apm_agent
echo "Upgrading sftrace agent"
upgrade_sftrace_agent
else
echo "Check jcmd installed"
check_jcmd_installation
echo "Installing APM agent"
install_apm_agent
echo "Installing fluent-bit binary"
install_fluent_bit
echo "Installing APM agent"
install_apm_agent
echo "Installing sftrace agent"
install_sftrace_agent
fi

cd $oldpath
rm -rf $tmp_dir

exit 0
exit 0

0 comments on commit 2d43e5a

Please sign in to comment.