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

addgroup -S -g 82 www-data 2>/dev/null
addgroup -S lighttpd 2>/dev/null
adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -G lighttpd -g lighttpd lighttpd 2>/dev/null
addgroup lighttpd www-data 2>/dev/null

exit 0