diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-05-20 10:07:40 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-05-20 10:07:40 -0400 |
| commit | 0c2a1828c6688e406020a33cf641090623f2b4ff (patch) | |
| tree | 6bbb415ed845a8e5031f721279a3b230361010fc /src | |
| parent | 25f5fdefeee008193207ed22675d6d8d92ffa333 (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index 9b4a3378..215e58cc 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -681,6 +681,10 @@ dkimInstalled = go `onChange` Service.restarted "opendkim" & File.ownerGroup "/etc/mail/dkim.key" (User "opendkim") (Group "opendkim") & "/etc/default/opendkim" `File.containsLine` "SOCKET=\"inet:8891@localhost\"" + `onChange` + (cmdProperty "/lib/opendkim/opendkim.service.generate" [] + `assume` MadeChange) + `onChange` Service.restarted "opendkim" & "/etc/opendkim.conf" `File.containsLines` [ "KeyFile /etc/mail/dkim.key" , "SubDomains yes" |
