mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 11:36:16 +01:00
Fix consul and nomad reload on toothpick
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
e31acce1fd
commit
0bd14910e3
|
@ -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
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue