Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
srm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
aship
srm
Commits
6f56429f
Commit
6f56429f
authored
Aug 05, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update stop sh
parent
c729b5c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
stop-prod.sh
deploy/IOne-SRM-Prod/stop-prod.sh
+1
-1
stop-staging.sh
deploy/IOne-SRM-Staging/stop-staging.sh
+1
-1
No files found.
deploy/IOne-SRM-Prod/stop-prod.sh
View file @
6f56429f
...
...
@@ -4,6 +4,6 @@ echo 'Stopping SRM...'
#kill -9 $(cat ./pid)
ps
-ef
|
grep
'java -Xms512m -Xmx
2048
m -Xss2048k -jar -Dspring.profiles.active=prod srm-latest.war'
|
grep
-v
grep
|
awk
'{print $2}'
|xargs
kill
-9
ps
-ef
|
grep
'java -Xms512m -Xmx
8192
m -Xss2048k -jar -Dspring.profiles.active=prod srm-latest.war'
|
grep
-v
grep
|
awk
'{print $2}'
|xargs
kill
-9
echo
'SRM Stopped.'
deploy/IOne-SRM-Staging/stop-staging.sh
View file @
6f56429f
...
...
@@ -4,6 +4,6 @@ echo 'Stopping SRM...'
#kill -9 $(cat ./pid)
ps
-ef
|
grep
'java -Xms512m -Xmx
1024
m -Xss2048k -jar -Dspring.profiles.active=staging srm-latest.war'
|
grep
-v
grep
|
awk
'{print $2}'
|xargs
kill
-9
ps
-ef
|
grep
'java -Xms512m -Xmx
8192
m -Xss2048k -jar -Dspring.profiles.active=staging srm-latest.war'
|
grep
-v
grep
|
awk
'{print $2}'
|xargs
kill
-9
echo
'SRM Stopped.'
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