change check for sync certs

This commit is contained in:
Antonio J. Delgado 2022-10-14 09:04:14 +03:00
parent 00284c88ea
commit d145f87140

View file

@ -170,7 +170,7 @@ if [ "${event_type}" == "on_movie_end" ]; then
--message "Clip termino en camara '${camera_name}' (${motion_host}). Evento: #${event}. File: ${file_uri}"
message "Sending email to '${email_destination}'..."
echo "${data}" | mail -s "Motion event '${event_type}' on '${host}'" "${email_destination}"
echo "${data}" | jq '.' | mail -s "Motion event '${event_type}' on host '${motion_host}' camera '${camera_name}'" "${email_destination}"
fi
message "Sending Home Assistant event ..."