Change default data path in Elastic 5.5

I have installed elastic search 5.5 via debian package. I wanted to change the default data and log path to some other customized folders. I have edited the yml file and restarted. The elastic service fails to start. Can some one suggest how to resolve this issue. It is bugging me since last evening.

Can some one help out me.. I do not want to go in prod with elastic default path.

Why? What is the error?

Why not?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.