summaryrefslogtreecommitdiff
path: root/priv/templates
diff options
context:
space:
mode:
authorMatt Campbell <xenolinguist@gmail.com>2011-09-20 10:11:33 -0500
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-09-20 17:26:39 +0200
commit5998c6c721b22a9413c66f2b2b034f9d5bd5bb3d (patch)
tree1f9e93eba73a80460efa335e8049af5620caa0fa /priv/templates
parent36a40d33514bc05935ad5c5e9fd1b3521a6bd352 (diff)
Add console command to windows runner script
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/simplenode.windows.runner.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/priv/templates/simplenode.windows.runner.cmd b/priv/templates/simplenode.windows.runner.cmd
index b5a3a5f..975c6c2 100644
--- a/priv/templates/simplenode.windows.runner.cmd
+++ b/priv/templates/simplenode.windows.runner.cmd
@@ -23,6 +23,7 @@
@if "%1"=="start" @goto start
@if "%1"=="stop" @goto stop
@if "%1"=="restart" @call :stop && @goto start
+@if "%1"=="console" @goto console
@rem TODO: attach, ping, restart and reboot
:usage
@@ -46,6 +47,10 @@
@%erts_bin%\erlsrv.exe stop %service_name%
@goto :EOF
+:console
+@start %erts_bin%\werl.exe -boot %releases_dir%\%release_version%\%node_name%
+@goto :EOF
+
:set_trim
@set %1=%2
@goto :EOF