diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-03-29 01:50:11 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-11-02 15:57:27 -0500 |
commit | bb7e8ce936e70452b4b2a6e0661f9a64baf4de9e (patch) | |
tree | f0bc74d0412f10d6467489b421a496c03c817a14 /user/nginx/nginx.pre-install | |
parent | 96a94ff5f1e7c582fd58d5225ffcd22524926ade (diff) | |
download | packages-nginx.tar.gz packages-nginx.tar.bz2 packages-nginx.tar.xz packages-nginx.zip |
user/nginx: new packagenginx
Diffstat (limited to 'user/nginx/nginx.pre-install')
-rw-r--r-- | user/nginx/nginx.pre-install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user/nginx/nginx.pre-install b/user/nginx/nginx.pre-install new file mode 100644 index 000000000..ae5b6857a --- /dev/null +++ b/user/nginx/nginx.pre-install @@ -0,0 +1,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 |