mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
transfused: remove rc script cruft
Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
parent
67dd25d1ba
commit
06f1a5b81f
@ -8,18 +8,8 @@ start()
|
||||
|
||||
mkdir -p /Mac
|
||||
|
||||
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
||||
then
|
||||
DRIVERDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
||||
RUNTIME_LOGFILE=${DRIVERDIR}/log/transfused.log
|
||||
else
|
||||
ID=$(LC_CTYPE=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 8)
|
||||
RUNTIME_LOGFILE="/Mac/private/tmp/transfused_${ID}.log"
|
||||
fi
|
||||
|
||||
PIDFILE=/var/run/transfused.pid
|
||||
STARTUP_LOGFILE=/var/transfused_start.log
|
||||
MOUNT_TRIGGER=/Mac
|
||||
|
||||
start-stop-daemon --start --quiet \
|
||||
--background \
|
||||
|
Loading…
Reference in New Issue
Block a user