22 lines
719 B
Diff
22 lines
719 B
Diff
--- OpenDKIM-2.11.0-Beta2.orig/contrib/systemd/opendkim.service.in 2022-09-05 13:34:39.099662836 -0400
|
|
+++ OpenDKIM-2.11.0-Beta2/contrib/systemd/opendkim.service.in 2022-09-05 13:36:33.580356467 -0400
|
|
@@ -8,13 +8,15 @@ 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
|
|
+Restart=on-failure
|
|
+RuntimeDirectory=opendkim
|
|
+RuntimeDirectoryMode=0750
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|