From 4c4b63516da9128342e8705244a91a09b1b9ff77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 12 Oct 2020 14:07:13 +0200 Subject: [PATCH] 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. --- roles/copr/backend/templates/logrotate/lighttpd.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/logrotate/lighttpd.j2 b/roles/copr/backend/templates/logrotate/lighttpd.j2 index 98f8e29851..4de2098d5e 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 }