aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx/nginx-common.pre-install
blob: 823de3a4b143e1946310a43b2692ea90a4116451 (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 -h /var/lib/nginx -g "nginx" -s /sbin/nologin -SDHG nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null

exit 0