mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
use mobyconfig watch for hupper
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
ea9062f7e6
commit
7e0a5ad781
@ -17,13 +17,16 @@ start()
|
||||
|
||||
PIDFILE=/run/hupper.pid
|
||||
DOCKERPIDFILE=/run/docker.pid
|
||||
WATCH=$(mobyconfig watch /etc/daemon.json)
|
||||
|
||||
[ -z "${WATCH}" && exit 1
|
||||
|
||||
start-stop-daemon --start --quiet \
|
||||
--background \
|
||||
--exec /bin/hupper \
|
||||
--make-pidfile --pidfile ${PIDFILE} \
|
||||
-- -pidfile ${PIDFILE} -huppidfile ${DOCKERPIDFILE} \
|
||||
-path /Database/branch/master/watch/com.docker.driver.amd64-linux.node/etc.node/docker.node/daemon.json.node/tree.live
|
||||
-path ${WATCH}
|
||||
|
||||
eend $? "Failed to start hupper"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user