From d164fa45363d866ab8255be51047ae6497e458dc Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 6 Mar 2023 00:11:52 +0100 Subject: [PATCH] modules/consul-service-registry: ExecStopPre -> ExecStopPost --- modules/consul-service-registry/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/consul-service-registry/default.nix b/modules/consul-service-registry/default.nix index 3103da6..5165ec2 100644 --- a/modules/consul-service-registry/default.nix +++ b/modules/consul-service-registry/default.nix @@ -37,7 +37,7 @@ let direct = { serviceConfig = { ExecStartPost = "${consul} services register ${serviceJson}"; - ExecStopPre = "${consul} services deregister ${serviceJson}"; + ExecStopPost = "${consul} services deregister ${serviceJson}"; }; }; external = {