matrix: restart heisenbridge on failure
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2023-07-14 09:07:34 +01:00 committed by JakeHillion
parent 9f6b5e4348
commit a9c5130841

View File

@ -108,5 +108,12 @@ in
homeserver = "https://matrix.hillion.co.uk"; homeserver = "https://matrix.hillion.co.uk";
}; };
}; };
systemd.services.heisenbridge = lib.mkIf cfg.heisenbridge {
serviceConfig = {
Restart = "on-failure";
RestartSec = 15;
};
};
}; };
} }