debian-mirror-gitlab/bin/background_jobs
2021-01-30 21:13:34 +05:30

9 lines
174 B
Bash
Executable file

#!/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