aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Rascão <[email protected]>2018-09-20 16:53:28 +0100
committerGitHub <[email protected]>2018-09-20 16:53:28 +0100
commit048788f3264600ec4f36a2dfd1ebfae7030998b0 (patch)
treeae731078db43eb05c5b0c2ae926bcad60ec17831
parentc00c4a643ff21acc3535182f1621e1da39488e63 (diff)
parentd12106901342491ad24252b976dc36ac95fa57c1 (diff)
downloadrelx-048788f3264600ec4f36a2dfd1ebfae7030998b0.tar.gz
relx-048788f3264600ec4f36a2dfd1ebfae7030998b0.tar.bz2
relx-048788f3264600ec4f36a2dfd1ebfae7030998b0.zip
Merge pull request #670 from shamis/master
windows template - using %hostname% in service install
-rw-r--r--priv/templates/extended_bin_windows4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/extended_bin_windows b/priv/templates/extended_bin_windows
index d30d78d..00ecf9b 100644
--- a/priv/templates/extended_bin_windows
+++ b/priv/templates/extended_bin_windows
@@ -183,10 +183,10 @@
:install
set args=%erl_opts% -setcookie %cookie% ++ -rootdir \"%rootdir%\"
set start_erl=%erts_dir%\bin\start_erl.exe
-set description=Erlang node %node_name% in %rootdir%
+set description=Erlang node %node_name%%hostname% in %rootdir%
@if "" == "%2" (
:: Install the service
- %erlsrv% add %service_name% %node_type% "%node_name%" -c "%description%" -w "%rootdir%" -m "%start_erl%" -args "%args%" -stopaction "init:stop()."
+ %erlsrv% add %service_name% %node_type% "%node_name%%hostname%" -c "%description%" -w "%rootdir%" -m "%start_erl%" -args "%args%" -stopaction "init:stop()."
) else (
:: relup and reldown
goto relup