"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/bin/elasticsearch-users.bat" (6 Jan 2022, 548 Bytes) of package /linux/www/elasticsearch-6.8.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "elasticsearch-users.bat": 6.8.22_vs_8.0.0-rc1.

    1 @echo off
    2 
    3 rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
    4 rem or more contributor license agreements. Licensed under the Elastic License;
    5 rem you may not use this file except in compliance with the Elastic License.
    6 
    7 setlocal enabledelayedexpansion
    8 setlocal enableextensions
    9 
   10 set ES_MAIN_CLASS=org.elasticsearch.xpack.security.authc.file.tool.UsersTool
   11 set ES_ADDITIONAL_SOURCES=x-pack-env;x-pack-security-env
   12 call "%~dp0elasticsearch-cli.bat" ^
   13   %%* ^
   14   || goto exit
   15 
   16 endlocal
   17 endlocal
   18 :exit
   19 exit /b %ERRORLEVEL%