1 2 3 4 5 6 7 8 9
#!/usr/bin/env bash cd $(dirname $0)/.. || exit 1 if [ -n "$SIDEKIQ_WORKERS" ] ; then exec bin/background_jobs_sk_cluster "$@" else exec bin/background_jobs_sk "$@" fi