From 5e0393823daee93fb0f66b1286ee994431eb64df Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 2 Oct 2024 12:07:37 -0700 Subject: [PATCH] Tell service action scheduler to use task socket --- services/service/service_scheduled.nomad | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/service/service_scheduled.nomad b/services/service/service_scheduled.nomad index 1ad2ee3..399c674 100644 --- a/services/service/service_scheduled.nomad +++ b/services/service/service_scheduled.nomad @@ -27,6 +27,10 @@ job "${name}-${action_name}" { ] } + env = { + NOMAD_ADDR = "unix:///secrets/api.sock" + } + identity { env = true }