diff --git a/contrib/service/opendmarc.service.in b/contrib/service/opendmarc.service.in index 2e1cf20e..20390ec3 100644 --- a/contrib/service/opendmarc.service.in +++ b/contrib/service/opendmarc.service.in @@ -4,11 +4,11 @@ Documentation=man:opendmarc(8) man:opendmarc.conf(5) man:opendmarc-import(8) man After=network.target nss-lookup.target syslog.target [Service] -Type=forking -PIDFile=@localstatedir@/run/opendmarc/opendmarc.pid +Type=simple EnvironmentFile=-@sysconfdir@/sysconfig/opendmarc -ExecStart=@sbindir@/opendmarc $OPTIONS +ExecStart=@sbindir@/opendmarc -f $OPTIONS ExecReload=/bin/kill -USR1 $MAINPID +Restart=on-abnormal User=opendmarc Group=opendmarc