debian-mirror-gitlab/bin/background_jobs

10 lines
174 B
Text
Raw Normal View History

2020-05-24 23:13:21 +05:30
#!/usr/bin/env bash
2014-09-02 18:07:02 +05:30
2021-01-29 00:20:46 +05:30
cd $(dirname $0)/.. || exit 1
2014-09-02 18:07:02 +05:30
2020-04-08 14:13:33 +05:30
if [ -n "$SIDEKIQ_WORKERS" ] ; then
exec bin/background_jobs_sk_cluster "$@"
else
exec bin/background_jobs_sk "$@"
fi