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