Agent doesn't stop cleanly on SIGINT.
Running off of the latest V2 branch:
https://github.com/elastic/elastic-agent/tree/feature-arch-v2
Steps to reproduce:
- Enroll the agent from the command line
- Run the agent from the command line
- Press Ctrl+C, observe the agent doesn't exist requires SIGKILL for each of the running processes.
Agent doesn't stop cleanly on SIGINT.
Running off of the latest V2 branch:
https://github.com/elastic/elastic-agent/tree/feature-arch-v2
Steps to reproduce: