summaryrefslogtreecommitdiff
path: root/user/nginx/nginx.pre-install
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-10-29 11:56:03 -0700
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-10-29 11:56:03 -0700
commit5336c375a86a09f625952b0823845762d30932b9 (patch)
tree4b7a2fe34708d547a7e762303bec865d6c786be0 /user/nginx/nginx.pre-install
parentaa810ef31e326655790d0b0de54d8d19d611edd5 (diff)
downloadpackages-new/nginx.tar.gz
packages-new/nginx.tar.bz2
packages-new/nginx.tar.xz
packages-new/nginx.zip
user/nginx: new packagenew/nginx
Diffstat (limited to 'user/nginx/nginx.pre-install')
-rw-r--r--user/nginx/nginx.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/nginx/nginx.pre-install b/user/nginx/nginx.pre-install
new file mode 100644
index 000000000..da22bde54
--- /dev/null
+++ b/user/nginx/nginx.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+groupadd -r -f -g 82 www-data >/dev/null
+useradd -d /var/lib/nginx -G www-data -r -M -s /sbin/nologin -U >/dev/null