Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wang
/
go_supplier_task
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
31d06b73
authored
Feb 03, 2021
by
wang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update.sh更新
parent
29e8147e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
15 deletions
go_sku_server.ini
update.sh
go_sku_server.ini
deleted
100644 → 0
View file @
29e8147e
[program:golang_open_platform_60006]
command
=
/data/golang/golang_open_platform/cmd/http/http -config=/data/golang/golang_open_platform_60006/conf/dev
numprocs
=
1
process_name
=
%(program_name)s_%(process_num)02d
autostart
=
true
autorestart
=
true
startretries
=
3
user
=
root
redirect_stderr
=
true
stderr_logfile
=
/etc/supervisord.d/logs/golang_open_platform_error.log
stdout_logfile
=
/etc/supervisord.d/logs/golang_open_platform_access.log
stdout_logfile_maxbytes
=
2MB
update.sh
View file @
31d06b73
...
@@ -9,9 +9,9 @@ git pull origin dev
...
@@ -9,9 +9,9 @@ git pull origin dev
export
GO111MODULE
=
on
export
GO111MODULE
=
on
export
CGO_ENABLED
=
0
export
CGO_ENABLED
=
0
go env
-w
GOPROXY
=
https://goproxy.cn,direct
go env
-w
GOPROXY
=
https://goproxy.cn,direct
go build
-o
${
Cur_Dir
}
"/cmd/http/http
"
${
Cur_Dir
}
"/cmd/http/http_server
.go"
go build
-o
${
Cur_Dir
}
"/cmd/http/http
_server"
${
Cur_Dir
}
"/cmd/http/golang_open_platform
.go"
chmod +x
${
Cur_Dir
}
"/cmd/http/http"
chmod +x
${
Cur_Dir
}
"/cmd/http/http
_server
"
chmod +x
${
Cur_Dir
}
"/update.sh"
chmod +x
${
Cur_Dir
}
"/update.sh"
supervisorctl restart go
_sku_server_60014
:
*
supervisorctl restart go
lang_open_platform_60006
:
*
echo
"更新执行成功"
echo
"更新执行成功"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment