X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=local-setup%2Fsrc%2Fmain%2Fdocker%2Fjanusgraph%2Fentrypoint.sh;fp=local-setup%2Fsrc%2Fmain%2Fdocker%2Fjanusgraph%2Fentrypoint.sh;h=0000000000000000000000000000000000000000;hb=c16c682a91e278e2a12dfe29eddf071e9d5b4a7d;hp=8108866abda0c5ec2e3b0a7e18b1b6431acd2db3;hpb=d558eff0ec55a90a95860527161f2fa268e94d4b;p=aai%2Ftest-config.git diff --git a/local-setup/src/main/docker/janusgraph/entrypoint.sh b/local-setup/src/main/docker/janusgraph/entrypoint.sh deleted file mode 100755 index 8108866..0000000 --- a/local-setup/src/main/docker/janusgraph/entrypoint.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# run short-living command and prevent docker from stopping - -JANUS_EXEC="janusgraph/bin/janusgraph.sh" - -onStart() { - ${JANUS_EXEC} start -} - -onStop() { - ${JANUS_EXEC} stop -} - -waitLoop() { - tail -f /dev/null & - wait $! -} - -trap 'onStop; exit 0' SIGTERM SIGINT - -onStart || exit $? - -waitLoop \ No newline at end of file