From e7ed8a49fb22e05066d3cf18f258aad0619a8e6b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 16 Jun 2020 16:28:24 +0200 Subject: Update local scripts --- ansible/roles/nomad/files/nomad.service | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ansible/roles/nomad/files/nomad.service') diff --git a/ansible/roles/nomad/files/nomad.service b/ansible/roles/nomad/files/nomad.service index cabfafc..34dc1fc 100644 --- a/ansible/roles/nomad/files/nomad.service +++ b/ansible/roles/nomad/files/nomad.service @@ -1,5 +1,9 @@ [Unit] Description=Nomad +After=network-online.target +Wants=network-online.target +After=glusterd.service +Wants=glusterd.service [Service] ExecStart=/usr/local/bin/nomad agent -config /etc/nomad -- cgit v1.2.3