cstpdk / dockerfiles

6 stars 0 forks source link

Don't start haproxy ourselves, let confd start it. #2

Closed btrepp closed 10 years ago

btrepp commented 10 years ago

Confd will startup haproxy in the configuration.toml section. Also by running confd with exec, we can capture signals, and thus shutdown cleanly when docker wants to.

This should also stop the container if the confd process dies.

cstpdk commented 10 years ago

You're right. Thanks