I have some custom start/stop scripts to start the logstash and elasticsearch services on my centos system.
I want elasticsearch service to be started and should be ready to accept the events from logstash before the logstash should start.
But once the logstash rpm gets installed or when I reboot the machine, logstash service starts first automatically before I start the elasticsearch service from my script.
Is there a config file where I can edit on centos to prevent the logstash service to start automatically?