Closed vasanthperiyasamy closed 6 years ago
Hi,
When you stop CodeDeploy agent using Stop command , the host agent will try to finish job (like lifecycle event) currently it's still working on before exits. The agent tries to make the shutdown gracefully so that it won't put any deployment in a bad and non-recoverable state.
Stopping the codedeploy-agent service doesn't kill the CodeDeployPlugin::CommandPoller immediately and the command takes about 2 minutes to execute.
Just wondering if there is a way to cleanly stop the agent service without using kill/pkill?