Restoring machine execute files

Hi everyone,
I have a Linux machine that runs ES & Kibana
For unknown reason, several scripts are missing in my machine:
/etc/init.d/elasticsearch
/etc/default/elasticsearch
So when trying to run the machine using the command service elasticsearch start it gives an error

I'm trying to understand how to restore this missing files. I can use the command apt-get install elasticsearch and get all relevant files that missing, But I'm not sure how it goes and if it's overriding all users/nodes. I want to keep the last two

Any idea?
Tnx

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