fix: restart maddy on secret change

This commit is contained in:
truxnell 2024-03-17 21:47:39 +11:00
parent 4a1486cb25
commit 34deb2125f

View file

@ -7,6 +7,10 @@
group = "maddy";
};
# Restart dnscrypt when secret changes
config.sops.secrets."system/mail/maddy/envFile".restartUnits = [ "maddy" ];
#
config.services.maddy = {
enable = true;