diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-07 14:19:58 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-07 14:32:55 +0200 |
commit | f9bbb80e53c08d47ef2120b1e8e60e12f9c8f038 (patch) | |
tree | d2204c4d2d0a32e40d793fa8de71d5a5c120a130 /testing/unit/unit.pre-install | |
parent | 831ba5bb1c17ad245490643e73b0ce57e0ac585d (diff) |
testing/unit: add init script
Diffstat (limited to 'testing/unit/unit.pre-install')
-rw-r--r-- | testing/unit/unit.pre-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/unit/unit.pre-install b/testing/unit/unit.pre-install new file mode 100644 index 00000000000..9674c8d6713 --- /dev/null +++ b/testing/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 |