fix(borgbackup): wait for network to be fully online before taking backup
This commit is contained in:
parent
9122cecdc2
commit
0afbec2131
1 changed files with 3 additions and 0 deletions
|
|
@ -36,5 +36,8 @@
|
||||||
compression = "auto,lzma";
|
compression = "auto,lzma";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
persistentTimer = true;
|
persistentTimer = true;
|
||||||
|
preHook = ''
|
||||||
|
/bin/sh -c 'while ! /run/current-system/sw/bin/ping -c1 google.com; do sleep 1; done'
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue