jakub holý

building the right thing, building it right, fast

AWS ebextensions: Avoiding "Could not enable service" (or .. disable ..)

2015-07-30 12:08:56[Dev]Ops

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.