Update for EL8
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Adrien Reslinger 2021-03-18 00:07:14 +01:00
parent 5e69465772
commit d7ce4b38c4
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
3 changed files with 14 additions and 3 deletions

View file

@ -10,11 +10,11 @@
## See /usr/share/doc/opendkim/INSTALL for detailed instructions.
## DEPRECATED CONFIGURATION OPTIONS
##
##
## The following configuration options are no longer valid. They should be
## removed from your existing configuration file to prevent potential issues.
## Failure to do so may result in opendkim being unable to start.
##
##
## Removed in 2.10.0:
## AddAllSignatureResults
## ADSPAction
@ -34,7 +34,11 @@ AutoRestart Yes
AutoRestartRate 10/1h
## Specifies the path to the process ID file.
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version == '7' %}
PidFile /var/run/opendkim/opendkim.pid
{% elif ansible_os_family == "RedHat" and ansible_distribution_major_version == '8' %}
PidFile /run/opendkim/opendkim.pid
{% endif %}
## Selects operating modes. Valid modes are s (sign) and v (verify). Default is v.
## Must be changed to s (sign only) or sv (sign and verify) in order to sign outgoing