diff --git a/docs/admin/host_integration.md b/docs/admin/host_integration.md index fd47ea6ec8..f3dde2e251 100644 --- a/docs/admin/host_integration.md +++ b/docs/admin/host_integration.md @@ -84,5 +84,6 @@ and removed when the service is stopped. [Service] ... ExecStart=/usr/bin/docker run --env foo=bar --name redis_server redis - ExecStop=/usr/bin/docker stop -t 2 redis_server ; /usr/bin/docker rm -f redis_server + ExecStop=/usr/bin/docker stop -t 2 redis_server + ExecStopPost=/usr/bin/docker rm -f redis_server ...