1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00
fittrackee_ynh/conf/dockerless-run.sh
Eric Wagoner 99323cacf4 added run script
venv install
2022-12-29 16:56:29 -05:00

12 lines
No EOL
434 B
Bash

#!/bin/bash
# stop if one process fails
set -e
# bookwyrm
__FINALPATH__/venv/bin/gunicorn bookwyrm.wsgi:application --bind 0.0.0.0:__PORT__ &
# celery
__FINALPATH__/venv/bin/celery -A celerywyrm worker -l info -Q high_priority,medium_priority,low_priority &
__FINALPATH__/venv/bin/celery -A celerywyrm beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler &
# __FINALPATH__/venv/bin/celery -A celerywyrm flower &