Muhammad Tariq
Muhammad Tariq

Reputation: 175

Laravel Queue Worker

I have added this woker in etc/superviord.config for one project, I would like to make it work for multiple projects I mean for xyz, project also so should I need to copy and paste below all code or just have to add only one more command line? enter image description here

Upvotes: 1

Views: 201

Answers (1)

zlodes
zlodes

Reputation: 784

Yes, you need to copy-paste your program definition to separate supervisor processes.

And about the folder. You should use the /etc/supervisor/conf.d/. Just create the config file with SOMETHING-LIKE-A-PROJECT-NAME.conf and put your program definition into it.

And then check that your /etc/supervisord.conf contains the include section:

[include]
files = /etc/supervisor/conf.d/*.conf

Upvotes: 1

Related Questions