Skip to content

Commit

Permalink
#37 feat: add supervisor config to run worker
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Aug 3, 2024
1 parent f320a4a commit a604afd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions worker/supervisor.d/blog.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[program:blog]
process_name=blog-worker
command=/usr/local/bin/php artisan queue:work database --queue=import_elasticsearch
directory=/var/dev/blog-admin
user=csdev
autostart=true
autorestart=true
numprocs=1
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0

0 comments on commit a604afd

Please sign in to comment.