Restart deluged on failure in tests
Running ```sh nix build .#checks.x86_64-linux.vm_deluge_sso --max-jobs 1 --cores 1 ``` `deluged` sometimes segfaults: https://gist.github.com/dniku/5056689d9191e839e39d4c7b3fbf6410 Fixing this does not seem in scope for SHB.
This commit is contained in:
parent
60dfb9d19b
commit
f4f4881310
1 changed files with 5 additions and 0 deletions
|
|
@ -108,6 +108,11 @@ let
|
||||||
request = config.shb.deluge.localclientPassword.request;
|
request = config.shb.deluge.localclientPassword.request;
|
||||||
settings.content = "localpw";
|
settings.content = "localpw";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.deluged.serviceConfig = {
|
||||||
|
Restart = lib.mkForce "on-failure";
|
||||||
|
RestartSec = "1s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
clientLogin =
|
clientLogin =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue