Page MenuHomeDevCentral

Init OpenDKIM service
ClosedPublic

Authored by DorianWinty on Nov 14 2024, 19:43.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 05:16
Unknown Object (File)
Sun, Dec 8, 01:19
Unknown Object (File)
Wed, Dec 4, 10:31
Unknown Object (File)
Tue, Dec 3, 20:41
Unknown Object (File)
Tue, Dec 3, 05:36
Unknown Object (File)
Mon, Dec 2, 22:47
Unknown Object (File)
Mon, Dec 2, 22:46
Unknown Object (File)
Mon, Dec 2, 00:45
Subscribers
None

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

DorianWinty created this revision.

add provisionning of the files

dereckson retitled this revision from init opendkim service to Init OpenDKIM service.Nov 14 2024, 20:58
roles/mailserver/dkim/files/rc/opendkim
10
26
55

Normal signal should work too.

roles/mailserver/dkim/service.sls
17
DorianWinty marked 4 inline comments as done.

edit following commands

create a folder for sock and pid file

edit for making it work (work in prod now)

dereckson requested changes to this revision.Tue, Nov 19, 18:32
dereckson added inline comments.
roles/mailserver/dkim/files/rc/opendkim
60

With the new approach, we need to create the directory if it doesn't exist, mkdir -p works fine for that use: -p is to create parent directories, but that also allows to silently ignore error if directory already exists.

To create pid isn't needed anymore if the directory has the correct permissions, opendkim can create it itself.

This revision now requires changes to proceed.Tue, Nov 19, 18:32
DorianWinty marked an inline comment as done.

make more usefull for a service for everyone

This revision is now accepted and ready to land.Tue, Nov 19, 20:14
This revision was automatically updated to reflect the committed changes.