mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +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"
|
ebegin "Starting docker socket passthrough"
|
||||||
|
|
||||||
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/9pudc.pid
|
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/9pudc.pid
|
||||||
|
[ -n "${LOGFILE}" ] || LOGFILE=/var/log/9pudc.log
|
||||||
|
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
--background \
|
--background \
|
||||||
--exec /sbin/9pudc \
|
--exec /sbin/9pudc \
|
||||||
--make-pidfile --pidfile ${PIDFILE} \
|
--make-pidfile --pidfile ${PIDFILE} \
|
||||||
|
--stderr \"${LOGFILE}\" --stdout \"${LOGFILE}\""
|
||||||
-- -path /Socket -sock /var/run/docker.sock
|
-- -path /Socket -sock /var/run/docker.sock
|
||||||
|
|
||||||
eend $? "Failed to start 9pudc"
|
eend $? "Failed to start 9pudc"
|
||||||
|
Loading…
Reference in New Issue
Block a user