aboutsummaryrefslogtreecommitdiffstats
path: root/community/unit/unit.pre-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-07 18:56:25 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-07 18:56:25 +0200
commitcf74b3cfd311bb589ae69e6886f95bb18b482744 (patch)
tree22567909207b02905236cf3b16a1501bc0f2fc69 /community/unit/unit.pre-install
parent6e34e3ebd65921fcc0ccb3135e81c4271b070f95 (diff)
downloadaports-cf74b3cfd311bb589ae69e6886f95bb18b482744.tar.bz2
aports-cf74b3cfd311bb589ae69e6886f95bb18b482744.tar.xz
community/unit: move from testing
Diffstat (limited to 'community/unit/unit.pre-install')
-rw-r--r--community/unit/unit.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/unit/unit.pre-install b/community/unit/unit.pre-install
new file mode 100644
index 0000000000..9674c8d671
--- /dev/null
+++ b/community/unit/unit.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S unit 2>/dev/null
+adduser -S -D -H -h /var/lib/unit -s /sbin/nologin -G unit -g "NGINX Unit" unit 2>/dev/null
+
+exit 0