forked from x/ContextOS
add some
This commit is contained in:
parent
4ac554251e
commit
536f512293
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@ src/binpack_usr.go
|
||||
src/binpack.go
|
||||
src/version.go
|
||||
etc/local.shy
|
||||
etc/local.sh
|
||||
bin/
|
||||
var/
|
||||
usr/
|
||||
|
@ -18,7 +18,8 @@ Volcanos({river: {
|
||||
"stats", "count", "toast", "stream", "broad", "spide", "cache", "space", "route",
|
||||
]},
|
||||
cloud: {name: "部署 cloud", icon: "bi bi-clouds", nodetype: web.SERVER, list: [
|
||||
{space: "20220826-career", index: "ssh.relay"}, "bench",
|
||||
// {space: "20220826-career", index: "ssh.relay"}, "bench",
|
||||
{space: "20210308-sshd", index: "ssh.relay"}, "bench",
|
||||
{space: "20230913-matrix-story", index: "web.chat.island.group"},
|
||||
{space: "20230913-matrix-story", index: "web.chat.island.portal"},
|
||||
{space: "20230511-docker-story", index: "web.code.docker.container"},
|
||||
|
@ -2,6 +2,7 @@ src/binpack_usr.go
|
||||
src/binpack.go
|
||||
src/version.go
|
||||
etc/local.shy
|
||||
etc/local.sh
|
||||
bin/
|
||||
var/
|
||||
usr/
|
||||
|
@ -2,6 +2,7 @@ src/binpack_usr.go
|
||||
src/binpack.go
|
||||
src/version.go
|
||||
etc/local.shy
|
||||
etc/local.sh
|
||||
bin/
|
||||
var/
|
||||
usr/
|
||||
|
3
src/template/web.serve/local.sh
Normal file
3
src/template/web.serve/local.sh
Normal file
@ -0,0 +1,3 @@
|
||||
CTX_ROOT={{.Option "pwd"}}
|
||||
su - {{.Option "user"}} -c "cd {{.Option "pwd"}} && ./bin/ice.bin forever start {{.Option "args"}} &"
|
||||
for p in `ls usr/local/work/*/etc/local.sh`; do source $p; done
|
Loading…
x
Reference in New Issue
Block a user