Allow fixers to actually fix things

This commit is contained in:
IamTheFij 2023-11-06 14:41:54 -08:00
parent df1ae60936
commit 0391fd95ad

View File

@ -15,6 +15,7 @@ job "fixers" {
config { config {
image = "iamthefij/nomad-service-fixers:0.1.0" image = "iamthefij/nomad-service-fixers:0.1.0"
command = "/scripts/nomad_orphan_services.py" command = "/scripts/nomad_orphan_services.py"
args = ["--delete"]
} }
env = { env = {
@ -32,6 +33,7 @@ job "fixers" {
config { config {
image = "iamthefij/nomad-service-fixers:0.1.0" image = "iamthefij/nomad-service-fixers:0.1.0"
command = "/scripts/nomad_missing_services.py" command = "/scripts/nomad_missing_services.py"
args = ["--restart"]
} }
env = { env = {