Skip to content

Commit

Permalink
add task queue.yml
Browse files Browse the repository at this point in the history
    Essa task executa o comando para reiniciar o daemon de trabalho da
    fila.
  • Loading branch information
ricardfo committed Mar 28, 2023
1 parent b20ce41 commit fe28d82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- import_tasks: supervisor.yml
when: deploy_laravel_supervisor

- import_tasks: up.yml
- import_tasks: queue.yml

4 changes: 4 additions & 0 deletions tasks/queue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: restart queue
command: php artisan queue:restart
args:
chdir: "{{ deploy_laravel_dest }}/{{ deploy_laravel_domain }}"

0 comments on commit fe28d82

Please sign in to comment.