mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
logging for 9pudc
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
31cf8d0c0d
commit
fd8ac2fb83
@ -15,11 +15,13 @@ start()
|
||||
ebegin "Starting docker socket passthrough"
|
||||
|
||||
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/9pudc.pid
|
||||
[ -n "${LOGFILE}" ] || LOGFILE=/var/log/9pudc.log
|
||||
|
||||
start-stop-daemon --start --quiet \
|
||||
--background \
|
||||
--exec /sbin/9pudc \
|
||||
--make-pidfile --pidfile ${PIDFILE} \
|
||||
--stderr \"${LOGFILE}\" --stdout \"${LOGFILE}\""
|
||||
-- -path /Socket -sock /var/run/docker.sock
|
||||
|
||||
eend $? "Failed to start 9pudc"
|
||||
|
Loading…
Reference in New Issue
Block a user