1
0
forked from x/ContextOS
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-02-14 12:21:41 +08:00
parent d80258c828
commit 224261cd39
6 changed files with 24 additions and 23 deletions

View File

@ -6,6 +6,7 @@ export ctx_pid=${ctx_pid:=var/run/ice.pid}
start() {
trap HUP hup && while true; do
date && bin/ice.bin $@ 2>$ctx_log && break || echo -e \"\n\nrestarting...\"
sleep 1
done
}
restart() {

16
go.mod
View File

@ -2,7 +2,7 @@ module shylinux.com/x/contexts
go 1.11
require shylinux.com/x/ice v0.6.6
require shylinux.com/x/ice v0.6.7
require (
shylinux.com/x/golang-story v0.3.4
@ -11,17 +11,3 @@ require (
shylinux.com/x/nginx-story v0.3.5
shylinux.com/x/redis-story v0.3.5
)
replace (
shylinux.com/x/ice => ./usr/release
shylinux.com/x/icebergs => ./usr/icebergs
shylinux.com/x/toolkits => ./usr/toolkits
)
replace (
shylinux.com/x/golang-story => ./usr/golang-story
shylinux.com/x/linux-story => ./usr/linux-story
shylinux.com/x/mysql-story => ./usr/mysql-story
shylinux.com/x/nginx-story => ./usr/nginx-story
shylinux.com/x/redis-story => ./usr/redis-story
)

16
go.sum
View File

@ -2,5 +2,21 @@ shylinux.com/x/go-qrcode v0.0.1 h1:/eOGqMj1qtgs9Ymd12zTUa1gcJZs9S92kj2lb0QzKsE=
shylinux.com/x/go-qrcode v0.0.1/go.mod h1:KAbtU+KwiiABMZ/CJ0zh9PI2AX82Uf9rRYcQ4ODm4po=
shylinux.com/x/go-sql-mysql v0.0.1 h1:VX5SrwLBKzfkRouj39LgJ9reIXOWmMsScRpr+e0qdp0=
shylinux.com/x/go-sql-mysql v0.0.1/go.mod h1:47OfAZK24HRJMy7dAu/jrksGCf9yzJaAUFwWYjhDFDA=
shylinux.com/x/golang-story v0.3.4 h1:CuA83v0DYOCU2154fJbxL3MYVBcKC8tLeHtD9KGxrpA=
shylinux.com/x/golang-story v0.3.4/go.mod h1:amooUwiVB0wNa2z6OfP0b6CodXmf+gcVgFaVGbam+eY=
shylinux.com/x/ice v0.6.7 h1:Zl70ZDmQshym9+YudYiZAVWRSZ2FaksHYkOH19St4b0=
shylinux.com/x/ice v0.6.7/go.mod h1:oxGQZANnYcF+fIH3l8YLpU9wA0VP72kuOq+z/uK1TTg=
shylinux.com/x/icebergs v0.9.5 h1:YUPPRNQl3nCTbkpNqJSdFoZOgBQ1Tuda//jUoRDeckI=
shylinux.com/x/icebergs v0.9.5/go.mod h1:UmlnuYttB+5Lw0gnzMhyWP3Yp5ngwQ1zrlyKQxOxLqM=
shylinux.com/x/linux-story v0.3.3 h1:k6SPJxw2NjFXLwa3V9BB0asRS9NhqbCEeyrL5rXv8/g=
shylinux.com/x/linux-story v0.3.3/go.mod h1:+nRy944KnhJQo4lb6VAFJj8/TnpGqdFxHJR2s6DLOxw=
shylinux.com/x/mysql-story v0.3.5 h1:8ZjCPD9URGxnrrixNsbCIxyIy4+wv1ROKmBOrtyNCrg=
shylinux.com/x/mysql-story v0.3.5/go.mod h1:QAM6SVeKLTh9u50MXmfMDT1sXUp+oaSzaC03uBjnm0s=
shylinux.com/x/nginx-story v0.3.5 h1:PMyaOZCZ8zlzHtKHxEZhCeaxzQurLlTMfUzpLtU2y34=
shylinux.com/x/nginx-story v0.3.5/go.mod h1:yQHh93+PYd5yBMrxffJdnCBwLafAwqv9zzX3MLtd2MA=
shylinux.com/x/redis-story v0.3.5 h1:uBti7RdfeKbV8P8bpTOQpT1q8J/SeK9ZNqA/k546fq4=
shylinux.com/x/redis-story v0.3.5/go.mod h1:KU4bps4EePrpS6e6hAI/X6StC7P3NX/v0iZp27XwEaY=
shylinux.com/x/toolkits v0.4.9 h1:1RQR+XQQ5x2Jwga9LxGjOyrQ0AdzDhRIvdNSFbxfVBA=
shylinux.com/x/toolkits v0.4.9/go.mod h1:8LbYHe7oxBIqb6s4MSOD+4d28QvPdvkyCVtwB/JW7AA=
shylinux.com/x/websocket v0.0.1 h1:OBc21DxqsGlQ2+Pz76xqLyDNo1LV+PUUqfWi+1PZPDE=
shylinux.com/x/websocket v0.0.1/go.mod h1:AaSpMToOxbMULKQytzczeHPuqb708vK1vrAzCxLo/XE=

View File

@ -2,7 +2,7 @@ module shylinux.com/x/contexts
go 1.11
require shylinux.com/x/ice v0.6.6
require shylinux.com/x/ice v0.6.7
require (
shylinux.com/x/golang-story v0.3.4

View File

@ -2,7 +2,7 @@ module shylinux.com/x/contexts
go 1.11
require shylinux.com/x/ice v0.6.6
require shylinux.com/x/ice v0.6.7
require (
shylinux.com/x/golang-story v0.3.4

View File

@ -4,12 +4,10 @@ shylinux.com/x/go-sql-mysql v0.0.1 h1:VX5SrwLBKzfkRouj39LgJ9reIXOWmMsScRpr+e0qdp
shylinux.com/x/go-sql-mysql v0.0.1/go.mod h1:47OfAZK24HRJMy7dAu/jrksGCf9yzJaAUFwWYjhDFDA=
shylinux.com/x/golang-story v0.3.4 h1:CuA83v0DYOCU2154fJbxL3MYVBcKC8tLeHtD9KGxrpA=
shylinux.com/x/golang-story v0.3.4/go.mod h1:amooUwiVB0wNa2z6OfP0b6CodXmf+gcVgFaVGbam+eY=
shylinux.com/x/ice v0.6.4/go.mod h1:ACiAFs34NCB5qgfjgby1RXWS5y9q7BJMqaiycdtR3MM=
shylinux.com/x/ice v0.6.6 h1:Qscn0R/XSxZVauCZLylVaItaLzTjmIPWAtIMD87k9/E=
shylinux.com/x/ice v0.6.6/go.mod h1:j8gYCjaG+R1wRUbUvLu2hiOpFNJ+17rM5Yg4RE0Cf/Y=
shylinux.com/x/icebergs v0.9.3/go.mod h1:UmlnuYttB+5Lw0gnzMhyWP3Yp5ngwQ1zrlyKQxOxLqM=
shylinux.com/x/icebergs v0.9.4 h1:ebXKavKVCbIN8gu2TpRCgkj9wI1XUR8KlWj5w4uaJRY=
shylinux.com/x/icebergs v0.9.4/go.mod h1:UmlnuYttB+5Lw0gnzMhyWP3Yp5ngwQ1zrlyKQxOxLqM=
shylinux.com/x/ice v0.6.7 h1:Zl70ZDmQshym9+YudYiZAVWRSZ2FaksHYkOH19St4b0=
shylinux.com/x/ice v0.6.7/go.mod h1:oxGQZANnYcF+fIH3l8YLpU9wA0VP72kuOq+z/uK1TTg=
shylinux.com/x/icebergs v0.9.5 h1:YUPPRNQl3nCTbkpNqJSdFoZOgBQ1Tuda//jUoRDeckI=
shylinux.com/x/icebergs v0.9.5/go.mod h1:UmlnuYttB+5Lw0gnzMhyWP3Yp5ngwQ1zrlyKQxOxLqM=
shylinux.com/x/linux-story v0.3.3 h1:k6SPJxw2NjFXLwa3V9BB0asRS9NhqbCEeyrL5rXv8/g=
shylinux.com/x/linux-story v0.3.3/go.mod h1:+nRy944KnhJQo4lb6VAFJj8/TnpGqdFxHJR2s6DLOxw=
shylinux.com/x/mysql-story v0.3.5 h1:8ZjCPD9URGxnrrixNsbCIxyIy4+wv1ROKmBOrtyNCrg=