Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #63 from sickelap/update_entrypoint
Browse files Browse the repository at this point in the history
use new entrypoint
  • Loading branch information
derneuere authored Sep 27, 2023
2 parents 7e7305f + 23657e1 commit ae09024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/bin/librephotos-backend
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ python3 manage.py build_similarity_index 2>&1 | tee $BASE_LOGS/command_build_sim
python3 manage.py qcluster 2>&1 | tee $BASE_LOGS/qcluster.log &

echo "production backend starting"
gunicorn --workers=2 --worker-class=gevent --timeout 3600 --bind 127.0.0.1:8001 --log-level=info ownphotos.wsgi 2>&1 | tee $BASE_LOGS/gunicorn_django.log
gunicorn --workers=2 --worker-class=gevent --timeout 3600 --bind 127.0.0.1:8001 --log-level=info librephotos.wsgi 2>&1 | tee $BASE_LOGS/gunicorn_django.log

2 changes: 1 addition & 1 deletion resources/bin/librephotos-worker
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ while ! pg_isready -h ${DB_HOST} -p ${DB_PORT} > /dev/null 2> /dev/null; do
done

set -a
export DJANGO_SETTINGS_MODULE=ownphotos.settings
export DJANGO_SETTINGS_MODULE=librephotos.settings
python3 manage.py rqworker default 2>&1 | tee $BASE_LOGS/rqworker.log

0 comments on commit ae09024

Please sign in to comment.