diff --git a/ansible/my_service_templates/actual/actual.container b/ansible/my_service_templates/actual/actual.container index dbaf356..3f8c2c3 100644 --- a/ansible/my_service_templates/actual/actual.container +++ b/ansible/my_service_templates/actual/actual.container @@ -1,5 +1,7 @@ [Unit] Description=Actual deployment +Wants=network-online.target +After=network.target network-online.target [Container] ContainerName=actual diff --git a/ansible/my_service_templates/bitwarden/bitwarden.container b/ansible/my_service_templates/bitwarden/bitwarden.container index d0918b8..7be0a02 100644 --- a/ansible/my_service_templates/bitwarden/bitwarden.container +++ b/ansible/my_service_templates/bitwarden/bitwarden.container @@ -1,5 +1,7 @@ [Unit] Description=Bitwarden deployment +Wants=network-online.target +After=network.target network-online.target [Container] ContainerName=bitwarden diff --git a/ansible/my_service_templates/gitea/gitea.pod b/ansible/my_service_templates/gitea/gitea.pod index fd54a55..d199361 100644 --- a/ansible/my_service_templates/gitea/gitea.pod +++ b/ansible/my_service_templates/gitea/gitea.pod @@ -1,5 +1,7 @@ [Unit] Description=Gitea deployment +Wants=network-online.target +After=network.target network-online.target [Pod] PodName=gitea diff --git a/ansible/my_service_templates/mumble/mumble.container b/ansible/my_service_templates/mumble/mumble.container index 0fb85f0..2be88cb 100644 --- a/ansible/my_service_templates/mumble/mumble.container +++ b/ansible/my_service_templates/mumble/mumble.container @@ -1,5 +1,7 @@ [Unit] Description=Mumble deployment +Wants=network-online.target +After=network.target network-online.target [Container] ContainerName=mumble diff --git a/ansible/my_service_templates/nextcloud/nextcloud.pod b/ansible/my_service_templates/nextcloud/nextcloud.pod index 3457c85..6019ca5 100644 --- a/ansible/my_service_templates/nextcloud/nextcloud.pod +++ b/ansible/my_service_templates/nextcloud/nextcloud.pod @@ -1,5 +1,7 @@ [Unit] Description=Nextcloud deployment +Wants=network-online.target +After=network.target network-online.target [Pod] PodName=nextcloud