|
@@ -0,0 +1,20 @@
|
|
|
|
+{% if ansible_prolog -%}
|
|
|
|
+{% from 'templates/ansible/prolog.j2' import prolog with context %}
|
|
|
|
+{{ prolog() }}
|
|
|
|
+{% endif -%}
|
|
|
|
+[Unit]
|
|
|
|
+Description=OpenDKIM 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
|
|
|
|
+
|
|
|
|
+[Service]
|
|
|
|
+Type=forking
|
|
|
|
+PIDFile=/var/run/opendkim/opendkim.pid
|
|
|
|
+User=opendkim
|
|
|
|
+UMask=0007
|
|
|
|
+ExecStart=/usr/sbin/opendkim -P /var/run/opendkim/opendkim.pid -p inet:8891@127.0.0.1
|
|
|
|
+Restart=on-failure
|
|
|
|
+ExecReload=/bin/kill -USR1 $MAINPID
|
|
|
|
+
|
|
|
|
+[Install]
|
|
|
|
+WantedBy=multi-user.target
|