summaryrefslogtreecommitdiff
path: root/user/lighttpd/lighttpd.pre-install
blob: bdc9b91b6d9304bae3da6ee8771e76e31cae7c2b (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

groupadd -r -g 82 www-data 2>/dev/null
groupadd -S lighttpd 2>/dev/null
useradd -c lighttpd -s /sbin/nologin -g -G www-data \
	lighttpd -m -d /var/www/localhost/htdocs -k /etc/skel -r lighttpd 2>/dev/null

exit 0