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.