From 816d1805d54504b6b82600b3a8c3d920e4b3a39f Mon Sep 17 00:00:00 2001 From: Matt Campbell Date: Thu, 29 Dec 2011 14:27:14 -0600 Subject: [PATCH] Set node name correctly on erlsrv commandline --- priv/templates/simplenode.windows.runner.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/templates/simplenode.windows.runner.cmd b/priv/templates/simplenode.windows.runner.cmd index 947c68b..b9c5824 100644 --- a/priv/templates/simplenode.windows.runner.cmd +++ b/priv/templates/simplenode.windows.runner.cmd @@ -31,7 +31,7 @@ @goto :EOF :install -@%erts_bin%\erlsrv.exe add %service_name% -c "Erlang node %node_name% in %node_root%" -w %node_root% -m %node_root%\bin\start_erl.cmd -args " ++ %node_name% ++ %node_root%" -stopaction "init:stop()." +@%erts_bin%\erlsrv.exe add %service_name% -c "Erlang node %node_name% in %node_root%" -sname %node_name% -w %node_root% -m %node_root%\bin\start_erl.cmd -args " ++ %node_name% ++ %node_root%" -stopaction "init:stop()." @goto :EOF :uninstall