1
0
forked from ports/contrib

lighttpd: 1.4.20 -> 1.4.21

This commit is contained in:
Thomas Penteker 2009-02-17 20:22:23 +01:00
parent 96415c9616
commit dc3a955ac7
3 changed files with 15 additions and 12 deletions

View File

@ -1,3 +1,3 @@
7ce7eefb487682b61d9b06b41864c64a lighttpd-1.4.20.tar.gz
5ff4e7075652f6cc200fa278ea2b1f96 lighttpd-1.4.21.tar.gz
0ca699210055a3e137ffefdcd5441c09 lighttpd.conf
acf07b7bf297e76923511abff24859b9 lighttpd.rc

View File

@ -5,7 +5,7 @@
# Depends on: libpcre
name=lighttpd
version=1.4.20
version=1.4.21
release=1
source=(http://www.$name.net/download/$name-$version.tar.gz \
$name.conf \

View File

@ -5,19 +5,22 @@
case $1 in
start)
/usr/sbin/lighttpd -f /etc/lighttpd.conf
;;
/usr/sbin/lighttpd -f /etc/lighttpd.conf
;;
stop)
kill `cat /var/run/lighttpd.pid`
;;
if [ -f /var/run/lighttpd.pid ]; then
kill `cat /var/run/lighttpd.pid`
rm -f /var/run/lighttpd.pid
fi
;;
restart)
$0 stop
sleep 2
$0 start
;;
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop|restart]"
;;
echo "usage: $0 [start|stop|restart]"
;;
esac
# End of file