Fix consul and nomad reload on toothpick

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-04-03 01:28:14 +02:00
parent e31acce1fd
commit 0bd14910e3
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -62,7 +62,7 @@ with lib;
destination = "/run/secrets/consul.json";
command = pkgs.writeShellScript "consul-command"
''
sudo systemctl try-restart-or-reload hashicorp-consul.service
sudo systemctl try-reload-or-restart hashicorp-consul.service
'';
}
{
@ -86,7 +86,7 @@ with lib;
destination = "/run/secrets/nomad.json";
command = pkgs.writeShellScript "nomad-command"
''
sudo systemctl try-restart-or-reload hashicorp-nomad.service
sudo systemctl try-reload-or-restart hashicorp-nomad.service
'';
}
];