From b50d5ca51b93f3f6db7a41bf01a03f162b60539f Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 25 Nov 2021 20:37:45 +0100 Subject: [PATCH] use nm-online to instead of nasty bash --- restic/.config/systemd/user/restic-backup.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restic/.config/systemd/user/restic-backup.service b/restic/.config/systemd/user/restic-backup.service index b15bd7b..5864066 100644 --- a/restic/.config/systemd/user/restic-backup.service +++ b/restic/.config/systemd/user/restic-backup.service @@ -4,5 +4,5 @@ Documentation=man:restic(1) [Service] Type=simple -ExecStartPre=/bin/sh -c 'until ping -c1 google.com; do sleep 1; done;' +ExecStartPre=nm-online ExecStart=%h/.dotfiles/bin/restic-backup