1
0
forked from x/ContextOS
ContextOS/etc/conf/rc_local.sh
2023-09-17 15:40:32 +08:00

5 lines
360 B
Bash

contexts=${contexts:=/home/shy/contexts}
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