mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-15 06:42:36 +00:00
transfused: when starting, wait up to 2s for pidfile to appear
pidfile appearance is triggered by start-up mount completion. Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
@@ -29,6 +29,8 @@ start()
|
|||||||
-p "${PIDFILE}" \
|
-p "${PIDFILE}" \
|
||||||
-l "${STARTUP_LOGFILE}"
|
-l "${STARTUP_LOGFILE}"
|
||||||
|
|
||||||
|
ewaitfile 2 ${PIDFILE}
|
||||||
|
|
||||||
eend $? "Failed to start transfused"
|
eend $? "Failed to start transfused"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user