Trigger restart of postfix if passwords of mail accounts change
This commit is contained in:
parent
b866182532
commit
14cabd62e5
1 changed files with 2 additions and 0 deletions
|
@ -174,5 +174,7 @@ in
|
|||
done
|
||||
chown -R '${dovecot2Cfg.mailUser}:${dovecot2Cfg.mailGroup}' '${stateDir}/imap_sieve'
|
||||
'';
|
||||
|
||||
systemd.services.postfix.restartTriggers = [ passwdFile ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue