aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-initscripts/nginx-initscripts.pre-install
blob: 00bd0dedfb0a7af6fae998b10cb3e24bf4959581 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

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

exit 0