mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
make sure transfused is logging
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
407eba8daa
commit
8c49b54738
@ -13,12 +13,15 @@ start()
|
|||||||
|
|
||||||
ebegin "Starting FUSE socket passthrough"
|
ebegin "Starting FUSE socket passthrough"
|
||||||
|
|
||||||
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/transfused.pid
|
PIDFILE=/var/run/transfused.pid
|
||||||
|
LOGFILE=/vatr/log/transfused.log
|
||||||
|
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
--background \
|
--background \
|
||||||
--exec /sbin/transfused \
|
--exec /sbin/transfused \
|
||||||
--pidfile ${PIDFILE} \
|
--pidfile ${PIDFILE} \
|
||||||
|
--stderr "${LOGFILE}" \
|
||||||
|
--stdout "${LOGFILE}" \
|
||||||
-- -p "${PIDFILE}"
|
-- -p "${PIDFILE}"
|
||||||
|
|
||||||
eend $? "Failed to start transfused"
|
eend $? "Failed to start transfused"
|
||||||
@ -30,7 +33,7 @@ stop()
|
|||||||
|
|
||||||
ebegin "Stopping FUSE socket passthrough"
|
ebegin "Stopping FUSE socket passthrough"
|
||||||
|
|
||||||
[ -n "${PIDFILE}" ] || PIDFILE=/var/run/transfused.pid
|
PIDFILE=/var/run/transfused.pid
|
||||||
|
|
||||||
start-stop-daemon --stop --quiet \
|
start-stop-daemon --stop --quiet \
|
||||||
--pidfile "${PIDFILE}"
|
--pidfile "${PIDFILE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user