summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-09-29 11:32:53 +0200
committerGitHub <noreply@github.com>2021-09-29 11:32:53 +0200
commit8c56eae68966a8633de8330bde1afe4b64234b6a (patch)
tree4f5bd9cc5bb996de68152bb7e1ef508fddf2152e /nixos/modules
parent7fe52e259c156862b928d62fe32b1fc4465b8703 (diff)
parent3158087c78c183651dffcce2ed56ff63e8348742 (diff)
downloadnixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.tar
nixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.tar.gz
nixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.tar.bz2
nixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.tar.lz
nixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.tar.xz
nixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.tar.zst
nixpkgs-8c56eae68966a8633de8330bde1afe4b64234b6a.zip
Merge pull request #139823 from sorpaas/patch-3
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/backup/tarsnap.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/tarsnap.nix b/nixos/modules/services/backup/tarsnap.nix
index 8187042b4b8..3cf21c1baa7 100644
--- a/nixos/modules/services/backup/tarsnap.nix
+++ b/nixos/modules/services/backup/tarsnap.nix
@@ -310,7 +310,7 @@ in
         # the service - therefore we sleep in a loop until we can ping the
         # endpoint.
         preStart = ''
-          while ! ping -q -c 1 v1-0-0-server.tarsnap.com &> /dev/null; do sleep 3; done
+          while ! ping -4 -q -c 1 v1-0-0-server.tarsnap.com &> /dev/null; do sleep 3; done
         '';
 
         script = let