summaryrefslogtreecommitdiff
path: root/user/nginx/nginx.pre-install
blob: ae5b6857acf7ebc4fe6fb591a7a0871a5a3810cc (plain) (blame)
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 -D -H -h /var/lib/nginx -s /sbin/nologin -G nginx -g nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null

exit 0