mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 11:40:32 +05:00
Trigger restart of postfix if passwords of mail accounts change
This commit is contained in:
parent
b866182532
commit
14cabd62e5
@ -174,5 +174,7 @@ in
|
||||
done
|
||||
chown -R '${dovecot2Cfg.mailUser}:${dovecot2Cfg.mailGroup}' '${stateDir}/imap_sieve'
|
||||
'';
|
||||
|
||||
systemd.services.postfix.restartTriggers = [ passwdFile ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user