fix: restart maddy on secret change
This commit is contained in:
parent
4a1486cb25
commit
34deb2125f
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue