Since the _frigate.service_ unit depends on _dev-apex_0.device_, `/dev/apex_0` needs to have the `systemd` "tag" on its udev device info. Without this tag, systemd will not "see" the device and thus will not mark the `.device` unit as active.
14 lines
321 B
YAML
14 lines
321 B
YAML
- name: save firewalld configuration
|
|
command: firewall-cmd --runtime-to-permanent
|
|
- name: reload systemd
|
|
command: systemctl daemon-reload
|
|
- name: restart frigate
|
|
service:
|
|
name: frigate
|
|
state: restarted
|
|
|
|
- name: reload udev
|
|
command: udevadm control --reload
|
|
- name: trigger udev
|
|
command: udevadm trigger
|