aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dnf_automatic
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dnf_automatic')
-rw-r--r--roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart b/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart
index 530a860..4273ef0 100644
--- a/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart
+++ b/roles/dnf_automatic/files/usr/local/sbin/dnf-auto-restart
@@ -13,6 +13,8 @@ SERVICES=()
dnf needs-restarting --services | while read -r service; do
if [[ $service = user@* ]]; then
continue
+ elif [ "$service" = 'auditd.service' ]; then
+ service auditd restart
elif [ "$(systemctl show "$service" --property RefuseManualStop --value)" = yes ]; then
continue
else