Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
9d32a6bb
Commit
9d32a6bb
authored
Nov 08, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件1
parent
6fb6d290
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
sample-form-manager/src/main/bin/deploy.sh
sample-form-manager/src/main/bin/deploy.sh
+3
-3
sample-form-manager/src/main/bin/shutdown.sh
sample-form-manager/src/main/bin/shutdown.sh
+1
-1
sample-form-manager/src/test/java/com/mortals/httpclient/http-client.env.json
...src/test/java/com/mortals/httpclient/http-client.env.json
+2
-2
No files found.
sample-form-manager/src/main/bin/deploy.sh
View file @
9d32a6bb
...
...
@@ -138,12 +138,12 @@ start_service_and_nginx() {
writelog
"
${
PROJECT_NAME
}
服务启动..."
systemctl
enable
${
PROJECT_NAME
}
systemctl daemon-reload
systemctl stop
${
PROJECT_NAME
}
systemctl start
${
PROJECT_NAME
}
systemctl stop
${
PROJECT_NAME
}
&&
systemctl start
${
PROJECT_NAME
}
project_status
=
$(
systemctl status
"
${
PROJECT_NAME
}
"
|grep Active |awk
'{print $2}'
)
nginx
-t
nginx
-s
reload
jcpid
=
$(
ps
-ef
|
grep
-v
"grep"
|
grep
"
${
PROJECT_NAME
}
"
|
awk
'{print $2}'
)
writelog
"
${
PROJECT_NAME
}
服务启动,PID is
${
jcpid
}
"
writelog
"
${
PROJECT_NAME
}
服务启动,PID is
${
jcpid
}
,status:
${
project_status
}
"
}
#部署后台服务
project_deploy
()
{
...
...
sample-form-manager/src/main/bin/shutdown.sh
View file @
9d32a6bb
...
...
@@ -19,7 +19,7 @@ fi
echo
"stoping application
$PROJECT_NAME
......"
kill
-
9
${
pid
}
kill
-
15
${
pid
}
echo
"Send shutdown request to Server
$PROJECT_NAME
OK"
...
...
sample-form-manager/src/test/java/com/mortals/httpclient/http-client.env.json
View file @
9d32a6bb
...
...
@@ -8,8 +8,8 @@
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
"test"
:
{
"baseUrl"
:
"http://192.168.0.98:11078/m"
,
"baseLogin"
:
"http://192.168.0.98:11078/
base
"
"baseUrl"
:
"http://192.168.0.98:11078/
samplefor
m"
,
"baseLogin"
:
"http://192.168.0.98:11078/
sampleform
"
},
"portal"
:
{
"baseUrl"
:
"http://192.168.0.98:11072/zwfw"
,
...
...
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