I'm running an app on AWS Elastic Beanstalk running Amazon Linux 2 with Docker platform. I have changed deployment to immutable, so that with every app update a new EC2 instance is spawned as I currently have only one instance running and do want minimal downtime. Unfortunately the LogDNA Agent does not start up and after every deployment I have to start it manually (sudo systemctl start logdna-agent).
I had used the script v1 and also tried to use services key or platform hooks but nothing worked.
Is there anything I can do or debug why the service is not starting?
I'm running an app on AWS Elastic Beanstalk running Amazon Linux 2 with Docker platform. I have changed deployment to immutable, so that with every app update a new EC2 instance is spawned as I currently have only one instance running and do want minimal downtime. Unfortunately the LogDNA Agent does not start up and after every deployment I have to start it manually (
sudo systemctl start logdna-agent).I had used the script v1 and also tried to use services key or platform hooks but nothing worked.
Is there anything I can do or debug why the service is not starting?