summaryrefslogtreecommitdiff
path: root/public/fs/etc/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'public/fs/etc/systemd')
-rw-r--r--public/fs/etc/systemd/system/submission.service14
-rw-r--r--public/fs/etc/systemd/system/submission.service.d/override.conf3
2 files changed, 17 insertions, 0 deletions
diff --git a/public/fs/etc/systemd/system/submission.service b/public/fs/etc/systemd/system/submission.service
new file mode 100644
index 0000000..130a091
--- /dev/null
+++ b/public/fs/etc/systemd/system/submission.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=DomainKeys Identified Mail (DKIM) Submission Port 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=local-fs.target network.target syslog.target
+
+[Service]
+Type=simple
+PIDFile=/var/run/opendkim/submission.pid
+ExecStart=/usr/sbin/opendkim -f -x /etc/opendkim/submission.conf
+ExecReload=/bin/kill -USR1 $MAINPID
+NonBlocking=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/public/fs/etc/systemd/system/submission.service.d/override.conf b/public/fs/etc/systemd/system/submission.service.d/override.conf
new file mode 100644
index 0000000..24d8bed
--- /dev/null
+++ b/public/fs/etc/systemd/system/submission.service.d/override.conf
@@ -0,0 +1,3 @@
+[Service]
+User=opendkim
+Group=postfix