mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +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"
|
||||
|
||||
mkdir -p /Mac
|
||||
rm -rf /tmp/* /tmp/.*
|
||||
|
||||
PIDFILE=/var/run/transfused.pid
|
||||
STARTUP_LOGFILE=/var/transfused_start.log
|
||||
PIDFILE=/var/run/transfused.pid
|
||||
STARTUP_LOGFILE=/var/transfused_start.log
|
||||
|
||||
start-stop-daemon --start --quiet \
|
||||
--background \
|
||||
--exec /sbin/transfused \
|
||||
--pidfile ${PIDFILE} \
|
||||
-- \
|
||||
-p "${PIDFILE}" \
|
||||
-l "${STARTUP_LOGFILE}"
|
||||
-p "${PIDFILE}" \
|
||||
-l "${STARTUP_LOGFILE}"
|
||||
|
||||
ewaitfile 2 ${PIDFILE}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user