Introduce Restarts for brittle services
This commit is contained in:
parent
45ce879c22
commit
94e44e24de
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue