aboutsummaryrefslogtreecommitdiffstats
path: root/community/opendkim/opendkim.pre-install
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-12-23 19:37:34 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-02-07 14:04:33 +0200
commitf471c42b59a4aed5eab049515028dc8d21f7b1c2 (patch)
tree75bc0f3b5d66f9c9daa3e03ae8fa6762fcac836e /community/opendkim/opendkim.pre-install
parent5938bc9c571af2e1dee1c919b99db90dbccfa1d0 (diff)
community/opendkim: fixes in build
fix user creation and db directory permissions fix init.d script - explictly set process-owner and pid-file. add post-install to generate initial keypair move non-server binaries and perl-depended script to -utils subpackage
Diffstat (limited to 'community/opendkim/opendkim.pre-install')
-rw-r--r--community/opendkim/opendkim.pre-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/opendkim/opendkim.pre-install b/community/opendkim/opendkim.pre-install
index 25d3fd7538c..e40280b288c 100644
--- a/community/opendkim/opendkim.pre-install
+++ b/community/opendkim/opendkim.pre-install
@@ -1,7 +1,7 @@
#!/bin/sh
addgroup -S opendkim 2>/dev/null
-adduser -S -D -H -s /bin/false -G opendkim -g opendkim opendkim 2>/dev/null
+adduser -SDH -h /run/opendkim -s /sbin/nologin -G opendkim -g opendkim opendkim 2>/dev/null
+adduser opendkim mail
exit 0
-