diff options
-rw-r--r-- | ansible/roles/borg-client/tasks/borg-client.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/borg-client/tasks/borg-client.yml b/ansible/roles/borg-client/tasks/borg-client.yml index 97c4ec4..3d2d74a 100644 --- a/ansible/roles/borg-client/tasks/borg-client.yml +++ b/ansible/roles/borg-client/tasks/borg-client.yml @@ -85,6 +85,8 @@ ExecStart=-/usr/local/bin/create-backup ExecStartPost=-/usr/local/bin/create-backup-send-email root@trygvis.io SuccessExitStatus=0 1 + After=network-online.target + Wants=network-online.target notify: - systemd daemon-reload |