Add extended release script

This commit is contained in:
Maciej Szlosarczyk 2019-06-03 12:00:53 +03:00
parent 1bb81e0118
commit d5c296af94
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
6 changed files with 51 additions and 4 deletions

17
scripts/extensions/reload Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
case $1 in
help)
echo "bin/epp_proxy reload"
;;
*)
;;
esac
# get the status tuple from gameserver
Status=$(relx_nodetool eval "exit(whereis(epp_tls_acceptor), normal).")
# now print it out
code="Json = io:format(\"~p~n\", [$Status]),
halt()."
echo $(erl -boot no_dot_erlang -sasl errlog_type error -noshell -eval "$code")