aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx-common.pre-install
blob: 27bf2de7cb3c2cd2fd2b730d05ff4ec7f549ac88 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

addgroup -Sg 82 www-data 2>/dev/null
addgroup -S nginx 2>/dev/null
adduser -S -h /var/lib/nginx -g "nginx" -s /sbin/nologin -DHG nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null

exit 0