From cc353d8e17fa142d23aac08e98a5dcc2e6285810 Mon Sep 17 00:00:00 2001 From: shy Date: Sun, 17 Sep 2023 15:40:32 +0800 Subject: [PATCH] add some --- etc/conf/rc_local.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/etc/conf/rc_local.sh b/etc/conf/rc_local.sh index b5b79f0a..3f29a8e8 100644 --- a/etc/conf/rc_local.sh +++ b/etc/conf/rc_local.sh @@ -1,7 +1,4 @@ - -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 &" +cd $contexts/usr/install/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" & +cd $contexts/usr/local/daemon/10000 && ./sbin/nginx -p $PWD