Unverified Commit 87124a75 authored by Kerstin Humm's avatar Kerstin Humm
Browse files

nixos/mobilizon: restart mobilizon-postgresql service on-failure

The motivation behind this is that sometimes postgresql signals
readiness to systemd, even though it doesn't accept yet connections.
parent 22349999
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -393,6 +393,7 @@ in
      serviceConfig = {
        Type = "oneshot";
        User = config.services.postgresql.superUser;
        Restart = "on-failure";
      };
    };