Hi Mark,
sur you're right I should format my sharing. my apologize.
I try to look in /var/log/elasticsearch
but this folder is empty
the only logs that i found is in journalctl :
Dec 15 19:23:17 systemd[1]: Starting Elasticsearch...
-- Unit elasticsearch.service has begun starting up.
Dec 15 19:23:17 systemd[3986]: Failed at step RUNTIME_DIRECTORY spawning /usr/share/elasticsearch/bin/systemd-entrypoint: File exists
-- Subject: Process /usr/share/elasticsearch/bin/systemd-entrypoint could not be executed
Dec 15 19:23:17 systemd[1]: elasticsearch.service: main process exited, code=exited, status=233/RUNTIME_DIRECTORY
I found a similar issue (elasticsearch-wont-start-on-reboot)
I add a rm /usr/lib/tmpfiles.d/elasticsearch.conf
before start cmd in the script but... it doesn't fix it.
If I'm run manually through ssh remote the systemctl start elasticsearch.service
elasticsearch service run fine and logs are available in /var/log/elasticsearch
.