1
0
forked from x/ContextOS

add rc_local.sh

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-12-01 23:33:41 +08:00
parent d6582f37e4
commit bfe181ec1e
2 changed files with 10 additions and 3 deletions

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

@ -0,0 +1,7 @@
#!/bin/sh
# vi /etc/rc.local
# source /home/shy/contexts/etc/conf/rc_local.sh
# source /home/shy/contexts/usr/local/work/20230511-nginx-story/etc/conf/rc_local.sh
CTX_ROOT=${CTX_ROOT:=/home/shy/contexts}
su - shy -c "cd $CTX_ROOT && ./bin/ice.bin forever start &"

View File

@ -1,12 +1,12 @@
~web ~web
config dream binary "https://2021.shylinux.com/chat/pod/" config dream binary "https://2021.shylinux.com/chat/pod/"
dream create name "20210308-sshd" icon usr/icons/ssh.png repos `https://shylinux.com/x/sshd` dream create name "20210308-sshd" icon usr/icons/ssh.png repos `https://shylinux.com/x/sshd`
dream create name "20230511-golang-story" icon usr/icons/go.png repos `https://shylinux.com/x/golang-story`
dream create name "20230511-docker-story" icon src/client/docker.png repos `https://shylinux.com/x/docker-story`
dream create name "20230511-linux-story" icon src/linux.png repos `https://shylinux.com/x/linux-story` dream create name "20230511-linux-story" icon src/linux.png repos `https://shylinux.com/x/linux-story`
dream create name "20230511-nginx-story" icon src/server/nginx.png repos `https://shylinux.com/x/nginx-story` dream create name "20230511-nginx-story" icon src/server/nginx.png repos `https://shylinux.com/x/nginx-story` restart always
dream create name "20230511-docker-story" icon src/client/docker.png repos `https://shylinux.com/x/docker-story` restart always
dream create name "20230511-redis-story" icon src/client/redis.png repos `https://shylinux.com/x/redis-story` dream create name "20230511-redis-story" icon src/client/redis.png repos `https://shylinux.com/x/redis-story`
dream create name "20230511-mysql-story" icon src/studio/mysql.png repos `https://shylinux.com/x/mysql-story` dream create name "20230511-mysql-story" icon src/studio/mysql.png repos `https://shylinux.com/x/mysql-story`
dream create name "20230511-golang-story" icon usr/icons/go.png repos `https://shylinux.com/x/golang-story`
dream create name "20230913-matrix-story" icon src/matrix/matrix.png repos `https://shylinux.com/x/matrix-story` dream create name "20230913-matrix-story" icon src/matrix/matrix.png repos `https://shylinux.com/x/matrix-story`
dream config web.wiki.portal web.chat.macos.desktop web.code.vimer dream config web.wiki.portal web.chat.macos.desktop web.code.vimer
~web.code ~web.code