modules/consul-service-registry: ExecStopPre -> ExecStopPost
This commit is contained in:
parent
3be1bc9336
commit
d164fa4536
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue