1
0
forked from x/ContextOS
ContextOS/etc/conf/rc_local.sh
2023-08-16 23:39:10 +08:00

5 lines
348 B
Bash

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 &"