From c6b72ac6b1f2aaa38fdbf1e2d20b7b7fa940a07e Mon Sep 17 00:00:00 2001 From: Marcio Goda Date: Mon, 4 Sep 2023 10:09:50 +0100 Subject: [PATCH] fix dnf-automatic execution --- files/notify_updates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/notify_updates b/files/notify_updates index fb12de6..ca35760 100755 --- a/files/notify_updates +++ b/files/notify_updates @@ -26,7 +26,7 @@ if [ -z "${STATELESS_INSTANCE}" ]; then echo 'STATELESS_INSTANCE should be set to 0 or 1' >&1 fi -updates="$(/usr/sbin/yum-cron /etc/yum/yum-cron-notify.conf)" +updates="$(/usr/sbin/dnf-automatic /etc/dnf/automatic.conf)" if [[ -n "${updates}" ]]; then /usr/local/bin/send_datadog_event.py "${updates}" fi