seb rev 17

Update lighttpd package
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 07 00:14:30 2017 +0100 (2017-03-07)
parents 3928ba49c43c
children ff5c597e5d11
files initfs/etc/daemons/httpd packages/lighttpd
line diff
     1.1 --- a/initfs/etc/daemons/httpd	Tue Mar 07 00:04:40 2017 +0100
     1.2 +++ b/initfs/etc/daemons/httpd	Tue Mar 07 00:14:30 2017 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  #!/bin/sh
     1.5  desc="Busybox web server"
     1.6  start() {
     1.7 -	/usr/sbin/httpd -u 80:80 -r "Seb OS Authentication"
     1.8 +	/usr/sbin/httpd -u 80:80
     1.9  }
     2.1 --- a/packages/lighttpd	Tue Mar 07 00:04:40 2017 +0100
     2.2 +++ b/packages/lighttpd	Tue Mar 07 00:14:30 2017 +0100
     2.3 @@ -6,4 +6,17 @@
     2.4  seb_install() {
     2.5  	install_files "/usr/sbin/lighttpd" "/usr/lib/libpcre.so*"
     2.6  	mkdir -p ${rootfs}/etc/lighttpd
     2.7 +	
     2.8 +	# Configs
     2.9 +	cp -f /etc/lighttpd/lighttpd.conf ${rootfs}/etc/lighttpd
    2.10 +	cp -f /etc/lighttpd/vhosts.conf ${rootfs}/etc/lighttpd
    2.11 +	
    2.12 +	# Daemon start function
    2.13 +	cat > ${rootfs}/etc/daemons/lighttpd << EOT
    2.14 +#!/bin/sh
    2.15 +desc="LightTPD web server"
    2.16 +start() {
    2.17 +	/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
    2.18  }
    2.19 +EOT
    2.20 +}