summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Konotopov <ykonotopov@gmail.com>2016-05-03 11:24:58 +0300
committerRobin H. Johnson <robbat2@gentoo.org>2016-05-06 08:36:41 -0700
commitfb670812f05712a931096baf601235e3afc8759b (patch)
tree39152495cdf29754c01d76cd12c757e3c8e8b9e0 /mail-filter/opendkim/files
parentkde-apps/ktuberling: Drop unused deps (diff)
downloadgentoo-fb670812f05712a931096baf601235e3afc8759b.tar.gz
gentoo-fb670812f05712a931096baf601235e3afc8759b.tar.bz2
gentoo-fb670812f05712a931096baf601235e3afc8759b.zip
mail-filter/opendkim: added runtime configuration to systemd unit.
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=542936 (cherry picked from commit add2021a15b569224b4d50b1d072307d00de0eb9) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'mail-filter/opendkim/files')
-rw-r--r--mail-filter/opendkim/files/opendkim-r1.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail-filter/opendkim/files/opendkim-r1.service b/mail-filter/opendkim/files/opendkim-r1.service
new file mode 100644
index 000000000000..f2e937a6bf16
--- /dev/null
+++ b/mail-filter/opendkim/files/opendkim-r1.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=DomainKeys Identified Mail (DKIM) Milter
+Documentation=man:opendkim(8) man:opendkim.conf(5) man:opendkim-genkey(8) man:opendkim-genzone(8) man:opendkim-testadsp(8) man:opendkim-testkey http://www.opendkim.org/docs.html
+After=network.target nss-lookup.target syslog.target
+
+[Service]
+ExecStart=/usr/sbin/opendkim -f -x /etc/opendkim/opendkim.conf
+ExecReload=/bin/kill -USR1 $MAINPID
+RuntimeDirectory=opendkim
+RuntimeDirectoryMode=0750
+User=milter
+Group=milter
+
+[Install]
+WantedBy=multi-user.target