seb diff packages/lighttpd @ rev 17

Update lighttpd package
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 07 00:14:30 2017 +0100 (2017-03-07)
parents d22172a67015
children 58aea7b2f307
line diff
     1.1 --- a/packages/lighttpd	Mon Mar 06 16:43:31 2017 +0100
     1.2 +++ b/packages/lighttpd	Tue Mar 07 00:14:30 2017 +0100
     1.3 @@ -6,4 +6,17 @@
     1.4  seb_install() {
     1.5  	install_files "/usr/sbin/lighttpd" "/usr/lib/libpcre.so*"
     1.6  	mkdir -p ${rootfs}/etc/lighttpd
     1.7 +	
     1.8 +	# Configs
     1.9 +	cp -f /etc/lighttpd/lighttpd.conf ${rootfs}/etc/lighttpd
    1.10 +	cp -f /etc/lighttpd/vhosts.conf ${rootfs}/etc/lighttpd
    1.11 +	
    1.12 +	# Daemon start function
    1.13 +	cat > ${rootfs}/etc/daemons/lighttpd << EOT
    1.14 +#!/bin/sh
    1.15 +desc="LightTPD web server"
    1.16 +start() {
    1.17 +	/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
    1.18  }
    1.19 +EOT
    1.20 +}