aboutsummaryrefslogtreecommitdiffstats
path: root/testing/safekeep/safekeep-server.post-install
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2017-03-01 21:59:25 +0100
committerWilliam Pitcock <nenolod@dereferenced.org>2017-03-02 02:17:23 +0000
commitd3043b5cf20df9ef1c275967c6bc340963dda4cc (patch)
tree6a6fa3d1710e4d1d0ac709c54cf1e7c69fbce8d8 /testing/safekeep/safekeep-server.post-install
parent513bd5e0e4660ab5fc6ca2e783553752d5512e78 (diff)
downloadaports-d3043b5cf20df9ef1c275967c6bc340963dda4cc.tar.gz
aports-d3043b5cf20df9ef1c275967c6bc340963dda4cc.tar.bz2
aports-d3043b5cf20df9ef1c275967c6bc340963dda4cc.tar.xz
testing/safekeep: new aport
Diffstat (limited to 'testing/safekeep/safekeep-server.post-install')
-rw-r--r--testing/safekeep/safekeep-server.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/safekeep/safekeep-server.post-install b/testing/safekeep/safekeep-server.post-install
new file mode 100644
index 0000000000..5a208c4aad
--- /dev/null
+++ b/testing/safekeep/safekeep-server.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+adduser -S -h /var/lib/safekeep safekeep
+install -d -m 0700 -o safekeep -g nogroup /var/lib/safekeep/.ssh
+
+exit 0