summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Campbell <matthew.campbell@asolutions.com>2011-12-29 14:27:14 -0600
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-01-09 12:33:39 +0100
commit816d1805d54504b6b82600b3a8c3d920e4b3a39f (patch)
tree8ccefcafa308b883c2f92e727d0f35a510bba99a
parent4db90bafef5a7c3dab9a0cb35a3937e0021da959 (diff)
Set node name correctly on erlsrv commandline
-rw-r--r--priv/templates/simplenode.windows.runner.cmd2
1 files changed, 1 insertions, 1 deletions
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