aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/apache/templates/logrotate5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate
index b144b2a2..dec386fe 100644
--- a/modules/apache/templates/logrotate
+++ b/modules/apache/templates/logrotate
@@ -4,10 +4,7 @@
missingok
notifempty
compress
- prerotate
- /etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 || :
- endscript
postrotate
- /etc/rc.d/init.d/httpd closelogs > /dev/null 2>&1 || :
+ /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}