summaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx.pre-install
blob: 55b5bfcda542c651beac834dc1cfefafde02f6aa (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

addgroup -g 82 -S 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 nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null

exit 0