wok-current diff lighttpd/receipt @ rev 18715
apache, lighttpd: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 23:00:12 2015 +0100 (2015-12-16) |
parents | fb5d18e72609 |
children | 9e01bc6321ea |
line diff
1.1 --- a/lighttpd/receipt Fri Nov 13 11:06:53 2015 +0100 1.2 +++ b/lighttpd/receipt Wed Dec 16 23:00:12 2015 +0100 1.3 @@ -97,5 +97,6 @@ 1.4 fi 1.5 # Just in case. 1.6 chown www.www $1/var/log/$PACKAGE 1.7 - [ "$1" ] || netstat -ltn | grep -q :80 || /etc/init.d/$PACKAGE start 1.8 + [ "$1" ] || netstat -ltn 2> /dev/null | grep -q :80 || 1.9 + /etc/init.d/$PACKAGE start 1.10 }