nixos/postfix: make postfix-setup RemainAfterExit

Otherwise, it wouldn't get restarted when a new system configuration
was activatad, so the Postfix configuration wouldn't be updated.

Fixes: fb2fa1b50f ("nixos/postfix: pull setup into its own unit")
main
Alyssa Ross 2 years ago
parent 505ffa2ffc
commit 27530ba856
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
  1. 1
      nixos/modules/services/mail/postfix.nix

@ -725,6 +725,7 @@ in
systemd.services.postfix-setup =
{ description = "Setup for Postfix mail server";
serviceConfig.RemainAfterExit = true;
serviceConfig.Type = "oneshot";
script = ''
# Backwards compatibility

Loading…
Cancel
Save