From 1ec5013a11247ccd046f4455f026dbb38c122205 Mon Sep 17 00:00:00 2001 From: Todd Pickell Date: Sat, 16 Jul 2016 22:16:08 -0500 Subject: [PATCH] [#92] An attempt to resolve Can't set short name error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ~/code/Ybot (master ✘)✭ ᐅ ./bin/console.sh 2016-07-16 20:31:29 Can't set short node name! Please check your configuration ``` This updates both bin/scripts to use `-name` over `-sname` So far in my testing this seems to have resolved the issue. I am not 100% sure though as I am new to this project and new to Erlang. Todd Pickell @tapickell --- bin/console.sh | 2 +- bin/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/console.sh b/bin/console.sh index 93d0280..bb964c4 100755 --- a/bin/console.sh +++ b/bin/console.sh @@ -1,3 +1,3 @@ #!/bin/bash -erl -remsh ybot@$(hostname) -sname ybot_$RANDOM@$(hostname) \ No newline at end of file +erl -remsh ybot@$(hostname) -name ybot_$RANDOM@$(hostname) diff --git a/bin/start.sh b/bin/start.sh index 5b96d92..ec47bea 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -15,7 +15,7 @@ fi erl -pa deps/*/ebin plugins/*/ebin ebin \ -boot start_sasl +P 2000000 \ - -sname ybot@$(hostname) \ + -name ybot@$(hostname) \ -s ybot \ -config ybot \ -noshell \