Trigger restart of postfix if passwords of mail accounts change

This commit is contained in:
Maximilian Bosch 2019-10-18 21:21:01 +02:00
parent b866182532
commit 14cabd62e5
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -174,5 +174,7 @@ in
done
chown -R '${dovecot2Cfg.mailUser}:${dovecot2Cfg.mailGroup}' '${stateDir}/imap_sieve'
'';
systemd.services.postfix.restartTriggers = [ passwdFile ];
};
}