forked from ports/contrib
11 lines
246 B
Bash
11 lines
246 B
Bash
#!/bin/sh -
|
|
|
|
getent group lighttpd || groupadd -r lighttpd
|
|
|
|
if [ -z "`getent passwd named`" ]; then
|
|
useradd -g lighttpd -d /var/www/lighttpd -s /bin/false lighttpd
|
|
passwd -l lighttpd
|
|
fi
|
|
|
|
chown lighttpd:wheel /var/log/lighttpd /var/lib/lighttpd
|