summaryrefslogtreecommitdiffstats
path: root/opendkim-systemd-service-simple.patch
blob: 930c7b93cdf02847fb62a6845b3a3fb2f7fdef5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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