aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd/lighttpd.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'main/lighttpd/lighttpd.logrotate')
-rw-r--r--main/lighttpd/lighttpd.logrotate4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/lighttpd/lighttpd.logrotate b/main/lighttpd/lighttpd.logrotate
index 76f0ef3ff5..8fbb20fb00 100644
--- a/main/lighttpd/lighttpd.logrotate
+++ b/main/lighttpd/lighttpd.logrotate
@@ -10,8 +10,6 @@
notifempty
sharedscripts
postrotate
- if [ -f /var/run/lighttpd.pid ]; then \
- /etc/init.d/lighttpd reload > /dev/null 2>&1 || true ; \
- fi;
+ /etc/init.d/lighttpd --quiet --ifstarted reload
endscript
}