Add script to run RQ worker process
This commit is contained in:
parent
7f2442a24f
commit
3a442b47e7
11
script/rq_worker
Executable file
11
script/rq_worker
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# script/rq_worker: Launch the Flask-RQ worker
|
||||||
|
|
||||||
|
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
||||||
|
|
||||||
|
# Before starting the server, apply any pending migrations to the DB
|
||||||
|
migrate_db
|
||||||
|
|
||||||
|
# Launch the worker
|
||||||
|
run_command "flask rq worker"
|
Loading…
x
Reference in New Issue
Block a user