aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-initscripts/nginx-initscripts.pre-install
blob: 8512f43ddaa77f04f263c8fd2850a83020aa4da0 (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 -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -G nginx \
	-g nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null

exit 0