diff options
author | Tommy Carpenter <tommy@research.att.com> | 2017-10-04 12:08:53 +0000 |
---|---|---|
committer | Tommy Carpenter <tommy@research.att.com> | 2017-10-05 13:35:24 -0400 |
commit | 2c28eaa42db36901421727c57b1450c29d49fbf8 (patch) | |
tree | 19aac6f0c11e69c55125df452e7867b394fa4d53 /entry.sh | |
parent | 483289371744c88d60a887252a2634a867e023d7 (diff) |
Eliminate entry.sh using latest BEAMv4.0.03.0.1-ONAP3.0.0-ONAP2.0.0-ONAP1.0.0-ONAP1.0.0-Amsterdamcasablancabeijing2.0.0-ONAP
Issue-ID: DCAEGEN2-126
Change-Id: I45e6eec9df7aa02edc7efcbc0df0e862e3e4474d
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'entry.sh')
-rwxr-xr-x | entry.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/entry.sh b/entry.sh deleted file mode 100755 index 2b60caf..0000000 --- a/entry.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -echo "if testing locally send SIGTERM to $$" - -term_handler() { - echo "Stopping the Erlang VM gracefully" - #/usr/local/Cellar/erlang/19.1/lib/erlang/lib/erl_interface-3.9.1/bin/erl_call -c cdapbroker -s -a 'init stop' -n 'cdapbroker@localhost' - /usr/local/lib/erlang/lib/erl_interface-3.9.2/bin/erl_call -c cdapbroker -s -a 'init stop' -n 'cdapbroker@localhost' - echo "Erlang VM Stopped" -} - -trap term_handler SIGQUIT SIGINT SIGTERM - -./_build/default/rel/cdapbroker/bin/cdapbroker & -PID=$! - -echo "Erlang VM Started" -#wait $PID -while kill -0 $PID ; do wait $PID ; EXIT_STATUS=$? ; done -echo "Exiting Wrapper." -exit $EXIT_STATUS |