Page MenuHomeDevCentral

Init OpenDKIM service
ClosedPublic

Authored by DorianWinty on Nov 14 2024, 19:43.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 21:53
Unknown Object (File)
Thu, Dec 19, 21:48
Unknown Object (File)
Thu, Dec 19, 20:27
Unknown Object (File)
Thu, Dec 19, 19:52
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
Subscribers
None

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
opendkimService
Build Status
Buildable 5716
Build 5998: arc lint + arc unit

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.Nov 19 2024, 18:32
dereckson added inline comments.
roles/mailserver/dkim/files/rc/opendkim
59

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.Nov 19 2024, 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.Nov 19 2024, 20:14
This revision was automatically updated to reflect the committed changes.