----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63680/ ----------------------------------------------------------- (Updated Nov. 15, 2017, 9:21 p.m.) Review request for mesos, Gilbert Song, Jie Yu, and Joseph Wu. Changes ------- Added a `force` option to force a clean restart during deamon creation. Bugs: MESOS-8183 https://issues.apache.org/jira/browse/MESOS-8183 Repository: mesos Description ------- The `ContanierDaemon` class is responsible to monitor if a long-running service running in a standalone container, and restart the service container after it exits. It takes the following hook functions: * `postStartHook`: called after the container is launched every time. * `postStopHook`: called after the container exits every time. `ContainerDaemon` does not manage the lifecycle of the contanier it monitors, so the container persists across `ContainerDaemon`s. However, it provides a `terminate()` method to completely shutdown the service container. Diffs (updated) ----- src/Makefile.am 955f01a665019d7750980ff16f126ad63b524594 src/slave/container_daemon.hpp PRE-CREATION src/slave/container_daemon.cpp PRE-CREATION Diff: https://reviews.apache.org/r/63680/diff/4/ Changes: https://reviews.apache.org/r/63680/diff/3-4/ Testing ------- Thanks, Chun-Hung Hsiao