From f066451adb64fe5e1b28728f84531b323a99dc6f Mon Sep 17 00:00:00 2001 From: "shylinux@163.com" Date: Sat, 27 Aug 2022 21:55:07 +0800 Subject: [PATCH] opt some --- etc/conf/rc_local.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/conf/rc_local.sh diff --git a/etc/conf/rc_local.sh b/etc/conf/rc_local.sh new file mode 100644 index 00000000..0acffc55 --- /dev/null +++ b/etc/conf/rc_local.sh @@ -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 &" +