SelfUpdate Linux agent from command line #5094
Unanswered
Allard-Chris
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I recently deployed an Ubuntu 20.04 server with an Azure agent in 2.174.1 (these versions are due to my scripts which are not yet up to date).
I noticed that my agent automatically updated to 4.248 without any action on my part. In the logs, I see a “SelfUpdater” execution by the agent and I'd like to understand what triggered this action and how I can trigger it manually.
I've seen a file called “update.sh.template” in the bin/ directory, whose information is automatically updated by the agent and then executed. How can I tell it to start again?
Because my need is to update agents on different servers and my current method is to download the new version, extract to the directory where the agent is installed and restart the service. If this can be handled by the agent and triggered through a cron, that's much better.
I haven't found any information in the documentation about a method for updating the agent itself. Nor do the --help commands specify any arguments for doing so.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions