aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd/lighttpd.logrotate
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-12-07 18:49:20 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-08 14:26:59 +0000
commit4ce667c78b8914d511474b336de17f2ca6e65fab (patch)
treece50a0f040faf130b1a8080067ee34d14e2c9ce8 /main/lighttpd/lighttpd.logrotate
parentbedaab5b374d5c54a91e2ce7bf50b95e1dd09183 (diff)
downloadaports-4ce667c78b8914d511474b336de17f2ca6e65fab.tar.gz
aports-4ce667c78b8914d511474b336de17f2ca6e65fab.tar.bz2
aports-4ce667c78b8914d511474b336de17f2ca6e65fab.tar.xz
main/lighttpd: upgrade to 1.4.38. Minor cleanups in init and logrotate scripts (second release)
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
}