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.
This commit is contained in:
Kerstin Humm
2025-02-19 12:50:07 +01:00
parent 223499992b
commit 87124a75de
@@ -393,6 +393,7 @@ in
serviceConfig = {
Type = "oneshot";
User = config.services.postgresql.superUser;
Restart = "on-failure";
};
};