modules/consul-service-registry: ExecStopPre -> ExecStopPost

This commit is contained in:
Max Headroom 2023-03-06 00:11:52 +01:00
parent 3be1bc9336
commit d164fa4536

View file

@ -37,7 +37,7 @@ let
direct = { direct = {
serviceConfig = { serviceConfig = {
ExecStartPost = "${consul} services register ${serviceJson}"; ExecStartPost = "${consul} services register ${serviceJson}";
ExecStopPre = "${consul} services deregister ${serviceJson}"; ExecStopPost = "${consul} services deregister ${serviceJson}";
}; };
}; };
external = { external = {