use nm-online to instead of nasty bash

This commit is contained in:
2021-11-25 20:37:45 +01:00
parent 1658a1fd3c
commit b50d5ca51b

View File

@@ -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