You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm wondering if there's a solid pattern people are using for starting up multiple workers under systemd. I'm happy to help write up a page for the docs if there is.
The text was updated successfully, but these errors were encountered:
I run multiple RQ instances via systemd template unit files. I have a template named rqworker@.service which allows me to spin up additional workers by calling systemctl start rqworker@one.service, systemctl start rqworker@two.service etc.
All of them can also be reloaded by calling systemctl reload rqworker@*.
Thanks! That's the solution I ended up on as well, so it's nice to have some validation. I will open a PR, but probably won't get to it for a few weeks.
anseljh
changed the title
Pattern for multiple workers via systemd
Document pattern for multiple workers via systemd
Aug 7, 2018
Hello! I'm wondering if there's a solid pattern people are using for starting up multiple workers under systemd. I'm happy to help write up a page for the docs if there is.
The text was updated successfully, but these errors were encountered: