jonge-democraten / website

JD website
https://jongedemocraten.nl
MIT License
6 stars 2 forks source link

Hemres on the test website should be attached to the rq-worker #122

Closed Pi2048 closed 8 years ago

Pi2048 commented 8 years ago

As discussed on the phone with @trolando

trolando commented 8 years ago

Added the rqworker in /usr/local/bin and to monit.

Modified website local_settings to use database 1 of the redis server.

Should work, but did not test yet.

trolando commented 8 years ago

Reopen to allow for testing (sorry).

trolando commented 8 years ago

I have tested the functionality.

One problem was that I had to restart the rq worker before it accepted tasks. I do not know why it was stalled. I've modified the rqworker script to send all output to /var/log/website-worker.log so we can monitor it in that way.