CFY-1308 nginx and elasticsearch fixes for running services as non daemon processes.