1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shylinux@163.com 2022-08-27 21:55:07 +08:00
parent 67b8ddd458
commit f066451adb

7
etc/conf/rc_local.sh Normal file
View File

@ -0,0 +1,7 @@
context=${context:=/home/shy/contexts}
cd $context/usr/local/daemon/10000 && ./sbin/nginx -p $PWD
su - shy -c "cd $context/ && ./bin/ice.bin forever start &"
su - shy -c "cd $context/usr/local/work/20220815-repos-server/ && ./bin/ice.bin forever start dev shy port 9030 nodename repos-server &"