#!/bin/sh # if command starts with something that is not executable, prepend our deploy command if ! which "${1}" >/dev/null; then set -- storm jar $TOPOLOGY_JAR $TOPOLOGY_CLASS "$@" -c nimbus.seeds="${NIMBUS_SEEDS:-"[\"nimbus\"]"}" -c nimbus.thrift.port=${NIMBUS_PORT:-6627} fi exec "$@"