Skip to content

Commit

Permalink
[fix] Add firmware-upgrader celery worker only when module is used #297
Browse files Browse the repository at this point in the history
Closes #297
  • Loading branch information
pandafy committed Sep 24, 2021
1 parent 5621f81 commit 00684c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/supervisor.yml
Expand Up @@ -41,7 +41,7 @@
src: supervisor/celery_firmware_upgrader.j2
dest: "{{ supervisor_path | format('celery_firmware_upgrader') }}"
mode: 0644
when: openwisp2_celery_firmware_upgrader
when: openwisp2_firmware_upgrader and openwisp2_celery_firmware_upgrader
notify: reload supervisor

- name: supervisor celerybeat
Expand Down

0 comments on commit 00684c4

Please sign in to comment.