init
This commit is contained in:
8
restart.sh
Executable file
8
restart.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
set -e
|
||||
|
||||
lsof -ti:4000 | xargs kill
|
||||
elixir --name a@10.0.0.1 --cookie supersecret --erl "-detached -kernel inet_dist_listen_min 9100 inet_dist_listen_max 9100" -S mix run --no-halt
|
||||
|
||||
sleep 2
|
||||
|
||||
iex --name console@localhost --cookie supersecret --remsh a@10.0.0.1
|
||||
Reference in New Issue
Block a user