about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/alpha/configuration.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 5af387e..6fac8e7 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -177,7 +177,9 @@
   systemd.services."borgbackup-job-alpha-rolling" = {
     preStart = lib.mkBefore ''
       # Wait until internet is reachable after resuming
-      until /run/wrappers/bin/ping rsync.net -c1 -q >/dev/null; do :; done
+      echo "Waiting until the remote is reachable..."
+      until /run/wrappers/bin/ping rsync.net -c1 -q >/dev/null 2>&1; do :; done
+      echo "Remote is reachable, exiting preStart"
     '';
   };