mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-26 20:18:52 +00:00
Merge pull request #189 from dsheets/transfused-clean-up-tmp
transfused: clean up /tmp
This commit is contained in:
commit
fb87dcc359
@ -7,17 +7,18 @@ start()
|
|||||||
ebegin "Starting FUSE socket passthrough"
|
ebegin "Starting FUSE socket passthrough"
|
||||||
|
|
||||||
mkdir -p /Mac
|
mkdir -p /Mac
|
||||||
|
rm -rf /tmp/* /tmp/.*
|
||||||
|
|
||||||
PIDFILE=/var/run/transfused.pid
|
PIDFILE=/var/run/transfused.pid
|
||||||
STARTUP_LOGFILE=/var/transfused_start.log
|
STARTUP_LOGFILE=/var/transfused_start.log
|
||||||
|
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
--background \
|
--background \
|
||||||
--exec /sbin/transfused \
|
--exec /sbin/transfused \
|
||||||
--pidfile ${PIDFILE} \
|
--pidfile ${PIDFILE} \
|
||||||
-- \
|
-- \
|
||||||
-p "${PIDFILE}" \
|
-p "${PIDFILE}" \
|
||||||
-l "${STARTUP_LOGFILE}"
|
-l "${STARTUP_LOGFILE}"
|
||||||
|
|
||||||
ewaitfile 2 ${PIDFILE}
|
ewaitfile 2 ${PIDFILE}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user