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

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

exit 0