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
Failed to generate hash of commit

View file

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