Browse files

Set node name correctly on erlsrv commandline

  • Loading branch information...
xenolinguist authored and tuncer committed Dec 29, 2011
1 parent 4db90ba commit 816d1805d54504b6b82600b3a8c3d920e4b3a39f
Showing with 1 addition and 1 deletion.
  1. +1 −1 priv/templates/
@@ -31,7 +31,7 @@
@goto :EOF
-@%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

0 comments on commit 816d180

Please sign in to comment.