From 4c4b63516da9128342e8705244a91a09b1b9ff77 Mon Sep 17 00:00:00 2001 From: Miroslav Suchý Date: Oct 12 2020 12:07:13 +0000 Subject: copr: really restart lighttpd Otherwise there are some mapped files on / volume and keep consuming the storage. I do not know what is actually consuming the storage, but the restart instead of reload helps. --- diff --git a/roles/copr/backend/templates/logrotate/lighttpd.j2 b/roles/copr/backend/templates/logrotate/lighttpd.j2 index 98f8e29..4de2098 100644 --- a/roles/copr/backend/templates/logrotate/lighttpd.j2 +++ b/roles/copr/backend/templates/logrotate/lighttpd.j2 @@ -22,6 +22,6 @@ notifempty compress postrotate - /usr/bin/killall -HUP lighttpd &>/dev/null || : + systemctl restart lighttpd.service &>/dev/null || : endscript }