Add force-stop support to launch script
Update the embedded launch script to support `force-stop`. Closes gh-6223
This commit is contained in:
committed by
Phillip Webb
parent
3c930347c5
commit
509be7474d
@@ -0,0 +1,4 @@
|
||||
source ./test-functions.sh
|
||||
install_service
|
||||
force_stop_service
|
||||
echo "Status: $?"
|
||||
@@ -21,6 +21,10 @@ stop_service() {
|
||||
service spring-boot-app stop
|
||||
}
|
||||
|
||||
force_stop_service() {
|
||||
service spring-boot-app force-stop
|
||||
}
|
||||
|
||||
await_app() {
|
||||
if [ -z $1 ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user