From ac9d146b21cc052b4c649a967594850c763b2240 Mon Sep 17 00:00:00 2001 From: shylinux Date: Wed, 16 Aug 2023 23:39:10 +0800 Subject: [PATCH] add some --- etc/conf/rc_local.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/etc/conf/rc_local.sh b/etc/conf/rc_local.sh index 9991ccf3..fd6a0e72 100644 --- a/etc/conf/rc_local.sh +++ b/etc/conf/rc_local.sh @@ -1,8 +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 -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 http://hub-mirror.c.163.com - su - shy -c "cd $contexts && ./bin/ice.bin forever start &" -su - shy -c "cd $contexts/usr/local/work/20220815-repos-server/ && ./bin/ice.bin forever start dev shy port 9030 nodename repos-server &" -