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