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")
This commit is contained in:
@@ -725,6 +725,7 @@ in
|
||||
|
||||
systemd.services.postfix-setup =
|
||||
{ description = "Setup for Postfix mail server";
|
||||
serviceConfig.RemainAfterExit = true;
|
||||
serviceConfig.Type = "oneshot";
|
||||
script = ''
|
||||
# Backwards compatibility
|
||||
|
||||
Reference in New Issue
Block a user