AWS ebextensions: Avoiding "Could not enable service" (or .. disable ..)
If you are adding a service entry to your
.ebextensions/config to run a service in AWS Elastic Beanstalk and it fails with either "Could not enable service [..]" or "Could not disable service [..]" (based on the value of
ensureRunning), make sure that the service init.d file supports chkconfig, i.e. contains the comments it looks for.
Are you benefitting from my writing? Consider buying me a coffee or supporting my work via GitHub Sponsors. Thank you! You can also book me for a mentoring / pair-programming session via Codementor or (cheaper) email.