Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3e6020ee
Commit
3e6020ee
authored
Nov 09, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4414 from pmvilaca/fix-4378-launch-script-stop-cmd
* pr/4414: Don't use `kill -hup` in the launch script
parents
52264cd0
b190cfdd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
launch.script
...urces/org/springframework/boot/loader/tools/launch.script
+1
-1
No files found.
spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script
View file @
3e6020ee
...
@@ -166,7 +166,7 @@ stop() {
...
@@ -166,7 +166,7 @@ stop() {
}
}
do_stop
()
{
do_stop
()
{
kill
-HUP
$1
&> /dev/null
||
{
echoRed
"Unable to kill process
$1
"
;
return
1
;
}
kill
$1
&> /dev/null
||
{
echoRed
"Unable to kill process
$1
"
;
return
1
;
}
for
i
in
$(
seq
1 60
)
;
do
for
i
in
$(
seq
1 60
)
;
do
isRunning
$1
||
{
echoGreen
"Stopped [
$1
]"
;
rm
-f
$2
;
return
0
;
}
isRunning
$1
||
{
echoGreen
"Stopped [
$1
]"
;
rm
-f
$2
;
return
0
;
}
sleep
1
sleep
1
...
...
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