1
0
Fork 0

Introduce Restarts for brittle services

This commit is contained in:
Malte Brandy 2020-06-16 00:39:43 +02:00
parent 45ce879c22
commit 94e44e24de
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
3 changed files with 2 additions and 2 deletions

View file

@ -36,6 +36,7 @@ in {
host = "hera-intern:9100"; host = "hera-intern:9100";
}]; }];
systemd.package = pkgs.systemd-next;
programs = { programs = {
ssh.extraConfig = '' ssh.extraConfig = ''
Host fb04*.mathematik.tu-darmstadt.de Host fb04*.mathematik.tu-darmstadt.de

View file

@ -2,6 +2,7 @@ self: super:
let let
unstable = import self.sources.unstable { }; unstable = import self.sources.unstable { };
in { in {
systemd-next = unstable.systemd;
gnome3 = super.gnome3 // { gnome3 = super.gnome3 // {
inherit (unstable.gnome3) gnome-keyring seahorse gdm; inherit (unstable.gnome3) gnome-keyring seahorse gdm;
}; };

View file

@ -57,8 +57,6 @@ in {
gc.options = "--delete-older-than 5d"; gc.options = "--delete-older-than 5d";
}; };
# This is necessary because of transient timeouts in certificate renewal
# Retries certificate renewal every 10 minutes at most 3 times in an 45 minutes
systemd.services = let systemd.services = let
hosts = builtins.attrNames config.services.nginx.virtualHosts; hosts = builtins.attrNames config.services.nginx.virtualHosts;
makeConfig = host: { makeConfig = host: {