2020-07-21 08:05:36 +12:00
|
|
|
#!/bin/sh
|
2020-07-06 01:51:20 +12:00
|
|
|
|
2021-01-31 18:24:38 +13:00
|
|
|
if [ -z "$_APP_REDIS_AUTH" ]
|
|
|
|
then
|
|
|
|
REDIS_BACKEND="${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
|
|
|
else
|
|
|
|
REDIS_BACKEND="redis://${_APP_REDIS_AUTH}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
|
|
|
|
fi
|
|
|
|
|
|
|
|
RESQUE_PHP='/usr/src/code/vendor/autoload.php'
|
|
|
|
|
|
|
|
php /usr/src/code/vendor/bin/resque-scheduler
|