aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vault/vault.pre-install
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-10-14 21:39:52 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-10-16 14:51:30 +0200
commit597512712019dd11f5e5ede86e404fc7950d84c6 (patch)
tree62cf8fbec27eef16e6aa8e918f2910a11db4336d /testing/vault/vault.pre-install
parent20f07fd98ac82b5d97a28019d4b29d8a902854bc (diff)
downloadaports-597512712019dd11f5e5ede86e404fc7950d84c6.tar.bz2
aports-597512712019dd11f5e5ede86e404fc7950d84c6.tar.xz
testing/vault: simplify init script
Diffstat (limited to 'testing/vault/vault.pre-install')
-rw-r--r--testing/vault/vault.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/vault/vault.pre-install b/testing/vault/vault.pre-install
new file mode 100644
index 0000000000..93ce40b549
--- /dev/null
+++ b/testing/vault/vault.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S vault 2>/dev/null
+adduser -S -H -h /dev/null -s /sbin/nologin -D -G vault vault 2>/dev/null
+exit 0