2 getent group www-data > /dev/null
4 echo 'Adding group www-data'
7 id www-data > /dev/null
9 echo 'Adding user www-data'
10 useradd -r www-data -g www-data
15 install -D -m0644 /usr/share/doc/lighttpd2/lighttpd.conf /etc/lighttpd2/lighttpd.conf
16 install -D -m0644 /usr/share/doc/lighttpd2/angel.conf /etc/lighttpd2/angel.conf
17 install -D -m0644 /usr/share/doc/lighttpd2/mimetypes.conf /etc/lighttpd2/mimetypes.conf
18 echo "Lighttpd2 is installed, start with
19 /usr/sbin/lighttpd2 -c /etc/lighttpd2/angel.conf or link /etc/sv/lighttpd2 to your
20 supervised (runit/daemontools) directory."
25 echo "Lighttpd's default configuration available in
26 /usr/share/doc/lighttpd2/*.conf"
29 # vim:set ts=2 sw=2 et: