nixos/znapzend: Increase starting timeout
This commit is contained in:
parent
698dfed2e6
commit
f124b7addc
@ -399,6 +399,14 @@ in
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
# znapzendzetup --import apparently tries to connect to the backup
|
||||||
|
# host 3 times with a timeout of 30 seconds, leading to a startup
|
||||||
|
# delay of >90s when the host is down, which is just above the default
|
||||||
|
# service timeout of 90 seconds. Increase the timeout so it doesn't
|
||||||
|
# make the service fail in that case.
|
||||||
|
TimeoutStartSec = 180;
|
||||||
|
# Needs to have write access to ZFS
|
||||||
|
User = "root";
|
||||||
ExecStart = let
|
ExecStart = let
|
||||||
args = concatStringsSep " " [
|
args = concatStringsSep " " [
|
||||||
"--logto=${cfg.logTo}"
|
"--logto=${cfg.logTo}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user