OpenDMARC
OpenDMARC copied to clipboard
systemd: use Type=simple and no fork to avoid PIDFile race
Would it be possible/desirable to use Type=notify instead?
Type=notify would be possible if the app is enhanced to call sd_notify(3) following startup. But this seems to only matter if we have services (e.g. the MTA) configured to depend on opendmarc such that it's not started until after opendmarc (and other similar milters) have started, which also is not the case. Right now there is no ordering between opendmarc, openarc, opendkim, and sendmail, at least on a CentOS 8 and a Fedora 35 system. Nor does postfix have a startup dependency ordering on these.