Skip to content

Commit

Permalink
added event on uninstalled agent
Browse files Browse the repository at this point in the history
  • Loading branch information
kochetovd committed Oct 26, 2023
1 parent b718a9a commit 89fe787
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function releem_update() {

if [ "$0" == "uninstall" ];
then
trap - EXIT
$WORKDIR/releem-agent --event=agent_uninstall > /dev/null
printf "\033[37m\n * Configure crontab\033[0m\n"
($sudo_cmd crontab -l 2>/dev/null | grep -v "$WORKDIR/mysqlconfigurer.sh" || true) | $sudo_cmd crontab -
printf "\033[37m\n * Stoping Releem Agent service...\033[0m\n"
Expand Down

0 comments on commit 89fe787

Please sign in to comment.