mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-17 04:53:48 +02:00
Add extended release script
This commit is contained in:
parent
1bb81e0118
commit
d5c296af94
6 changed files with 51 additions and 4 deletions
17
scripts/extensions/reload
Normal file
17
scripts/extensions/reload
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue