diff --git a/etc/conf/rc_local.sh b/etc/conf/rc_local.sh index fd6a0e72..b5b79f0a 100644 --- a/etc/conf/rc_local.sh +++ b/etc/conf/rc_local.sh @@ -1,4 +1,7 @@ + cd /home/shy/docker && ./dockerd --host unix://$PWD/docker.sock --pidfile $PWD/docker.pid --exec-root=$PWD/exec --data-root=$PWD/data --registry-mirror "https://ccr.ccs.tencentyun.com" & + contexts=${contexts:=/home/shy/contexts} cd $contexts/usr/local/daemon/10000 && ./sbin/nginx -p $PWD + su - shy -c "cd $contexts && ./bin/ice.bin forever start &"