Fixes Rq in Docker Container

This commit is contained in:
2023-08-25 03:59:33 -03:00
parent 05757f93b5
commit 56275bca08
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/sh
rq worker --with-scheduler
if [[ $1 == "--queue" || $1 == "-q" ]]; then
rq worker --with-scheduler
exit 0
else
python -m storage_service
fi
exec "$@"