From eff17cdf4bfc4206a1dd7cec3c78872b699ed688 Mon Sep 17 00:00:00 2001 From: Ryan Tan Date: Wed, 13 Dec 2023 11:36:06 -0800 Subject: [PATCH] Remove aux option --- gremlin-server/src/main/docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gremlin-server/src/main/docker/docker-entrypoint.sh b/gremlin-server/src/main/docker/docker-entrypoint.sh index 5b0b0398858..af7050cdade 100755 --- a/gremlin-server/src/main/docker/docker-entrypoint.sh +++ b/gremlin-server/src/main/docker/docker-entrypoint.sh @@ -35,6 +35,6 @@ handler() } exec $GREMLIN_SERVER "$@" & -PID=$(ps aux | grep -w $GREMLIN_SERVER | grep -v grep | awk 'NR==1 {print $1}') +PID=$(ps | grep -w $GREMLIN_SERVER | grep -v grep | awk 'NR==1 {print $1}') trap 'handler $PID' SIGTERM wait "$PID"