summaryrefslogtreecommitdiffstats
path: root/opendkim-systemd-service-simple.patch
diff options
context:
space:
mode:
Diffstat (limited to 'opendkim-systemd-service-simple.patch')
-rw-r--r--opendkim-systemd-service-simple.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/opendkim-systemd-service-simple.patch b/opendkim-systemd-service-simple.patch
new file mode 100644
index 0000000..930c7b9
--- /dev/null
+++ b/opendkim-systemd-service-simple.patch
@@ -0,0 +1,16 @@
+diff -urNp OpenDKIM-2.11.0-Beta2.orig/contrib/systemd/opendkim.service.in OpenDKIM-2.11.0-Beta2/contrib/systemd/opendkim.service.in
+--- OpenDKIM-2.11.0-Beta2.orig/contrib/systemd/opendkim.service.in 2018-11-14 18:47:38.000000000 -0600
++++ OpenDKIM-2.11.0-Beta2/contrib/systemd/opendkim.service.in 2022-05-24 07:32:47.264885433 -0500
+@@ -8,10 +8,9 @@ Documentation=man:opendkim(8) man:opendk
+ After=network.target nss-lookup.target syslog.target
+
+ [Service]
+-Type=forking
+-PIDFile=@localstatedir@/run/opendkim/opendkim.pid
++Type=simple
+ EnvironmentFile=-@sysconfdir@/sysconfig/opendkim
+-ExecStart=@sbindir@/opendkim $OPTIONS
++ExecStart=@sbindir@/opendkim -f $OPTIONS
+ ExecReload=/bin/kill -USR1 $MAINPID
+ User=opendkim
+ Group=opendkim