Do not create PidFile by default
By default, avoid creating a PIDFile. PIDFiles are racy and potentially dangerous. Modern system supervision systems don't need them, because they manage the process groups directly. If the configuration file doesn't specify a PidFile, dkimpy-milter shouldn't try to create one.
This commit is contained in:
@@ -40,7 +40,7 @@ defaultConfigData = {
|
||||
'UMask': 0o07,
|
||||
'Mode': 'sv',
|
||||
'Socket': None,
|
||||
'PidFile': '/var/run/dkimpy-milter/dkimpy-milter.pid',
|
||||
'PidFile': None,
|
||||
'UserID': 'dkimpy-milter',
|
||||
'Canonicalization': 'relaxed/simple',
|
||||
'InternalHosts': '127.0.0.1',
|
||||
|
||||
Reference in New Issue
Block a user