Commit 7ddca494 authored by Alyssa Ross's avatar Alyssa Ross Committed by Yureka
Browse files

nixos/mailman: set RemainAfterExit for settings

This seems to be required to have the unit re-run if
services.mailman.restApiPassFile gets set.
parent 43465c94
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -503,6 +503,7 @@ in {
        path = with pkgs; [ jq ];
        after = optional withPostgresql "postgresql.service";
        requires = optional withPostgresql "postgresql.service";
        serviceConfig.RemainAfterExit = true;
        serviceConfig.Type = "oneshot";
        script = ''
          install -m0750 -o mailman -g mailman ${mailmanCfgFile} /etc/mailman.cfg