Java process does not stop

Hello, we create a logstash custom with java process, we make a script for a rebooting of the service in question all the day below the script in question
REM ###############
REM # Variables #
REM ###############

set ELASTICSEARCH_SERVICE=FID_ELASTICSEARCH
set KIBANA_SERVICE=FID_KIBANA
set LOGSTASH_SERVICE=FID_LOGSTASH
set LOGSTASH_SERVICE_IO=FID_logstash_IO

REM ###############
REM # Scripts #
REM ###############

REM ###############################################
REM Commandes de redémarrage
REM ###############################################

net stop %KIBANA_SERVICE%
net stop %LOGSTASH_SERVICE%
REM net stop %LOGSTASH_SERVICE_IO%
net stop %ELASTICSEARCH_SERVICE%

net start %ELASTICSEARCH_SERVICE%
net start %LOGSTASH_SERVICE%
REM net start %LOGSTASH_SERVICE_IO%
net start %KIBANA_SERVICE%

but the service in question does not stop and restart it create another service in addition. have you had the same problem?

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