From 2653787c327e5607f2a2209f6a06a6cdfd69f60e Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 17 Aug 2023 00:15:30 +0800 Subject: [PATCH] add some --- etc/conf/rc_local.sh | 3 +++ 1 file changed, 3 insertions(+) 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 &"