From 42311e2ccea9ce62112aa20f06265f322fbafb06 Mon Sep 17 00:00:00 2001 From: mg Date: Sun, 16 Jan 2022 10:36:45 +0100 Subject: [PATCH] dnsmasq: logrotate: postrotate script (#307) Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/307 Co-authored-by: mg Co-committed-by: mg --- roles/mgrote.dnsmasq_adblocker/templates/logrotate.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/mgrote.dnsmasq_adblocker/templates/logrotate.j2 b/roles/mgrote.dnsmasq_adblocker/templates/logrotate.j2 index 9815e992..bb72c21d 100644 --- a/roles/mgrote.dnsmasq_adblocker/templates/logrotate.j2 +++ b/roles/mgrote.dnsmasq_adblocker/templates/logrotate.j2 @@ -9,4 +9,7 @@ notifempty dateext dateyesterday + postrotate + systemctl restart dnsmasq + endscript }