atst/script/rq_worker
2018-10-25 15:56:19 -04:00

12 lines
259 B
Bash
Executable File

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