frigate: More robust restart
This commit is contained in:
parent
aa4b46465c
commit
990d3ed176
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
- name: Restart frigate
|
- name: Clear preview restart cache
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /srv/frigate/media/clips/preview_restart_cache
|
path: /srv/frigate/media/clips/preview_restart_cache
|
||||||
state: absent
|
state: absent
|
||||||
notify: Restart frigate service
|
listen: Restart frigate
|
||||||
|
|
||||||
- name: Restart frigate service
|
- name: Restart frigate
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
name: frigate-container
|
name: frigate-container
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
Loading…
Add table
Reference in a new issue