aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opendmarc/opendmarc.pre-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-08 20:13:17 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-08 20:06:32 +0200
commitd982fc770418981b66eeb95b9cfb70798448262b (patch)
tree06a216fcaea3fe72e56dc7113c02a4ae6d7a827f /testing/opendmarc/opendmarc.pre-install
parent2c4db79af53f092e4e589722d3665f79024390ec (diff)
downloadaports-d982fc770418981b66eeb95b9cfb70798448262b.tar.bz2
aports-d982fc770418981b66eeb95b9cfb70798448262b.tar.xz
testing/opendmarc: add init script and install default config
Diffstat (limited to 'testing/opendmarc/opendmarc.pre-install')
-rw-r--r--testing/opendmarc/opendmarc.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/opendmarc/opendmarc.pre-install b/testing/opendmarc/opendmarc.pre-install
new file mode 100644
index 0000000000..5345378ba5
--- /dev/null
+++ b/testing/opendmarc/opendmarc.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+adduser -S -D -H -h /run/opendmarc -s /sbin/nologin -G mail -g opendmarc opendmarc 2>/dev/null
+
+exit 0