瀏覽代碼

Add console command to windows runner script

pull/3/head
Matt Campbell 13 年之前
committed by Tuncer Ayaz
父節點
當前提交
5998c6c721
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      priv/templates/simplenode.windows.runner.cmd

+ 5
- 0
priv/templates/simplenode.windows.runner.cmd 查看文件

@ -23,6 +23,7 @@
@if "%1"=="start" @goto start @if "%1"=="start" @goto start
@if "%1"=="stop" @goto stop @if "%1"=="stop" @goto stop
@if "%1"=="restart" @call :stop && @goto start @if "%1"=="restart" @call :stop && @goto start
@if "%1"=="console" @goto console
@rem TODO: attach, ping, restart and reboot @rem TODO: attach, ping, restart and reboot
:usage :usage
@ -46,6 +47,10 @@
@%erts_bin%\erlsrv.exe stop %service_name% @%erts_bin%\erlsrv.exe stop %service_name%
@goto :EOF @goto :EOF
:console
@start %erts_bin%\werl.exe -boot %releases_dir%\%release_version%\%node_name%
@goto :EOF
:set_trim :set_trim
@set %1=%2 @set %1=%2
@goto :EOF @goto :EOF

Loading…
取消
儲存