summaryrefslogtreecommitdiff
path: root/bin/background_jobs
blob: 598d36abde601c5edcb1b7965d86ce7856042962 (plain)
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