Skip to content

Commit

Permalink
Remove aux option
Browse files Browse the repository at this point in the history
  • Loading branch information
ryn5 committed Dec 13, 2023
1 parent 4ee8839 commit eff17cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gremlin-server/src/main/docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit eff17cd

Please sign in to comment.