Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
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
openSource
apollo
Commits
cfe37bed
Commit
cfe37bed
authored
May 04, 2016
by
Jason Song
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #169 from nobodyiam/fix-java-home
try to set java home
parents
4911cff3
48dcf55e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
0 deletions
+24
-0
shutdown.sh
apollo-adminservice/src/main/scripts/shutdown.sh
+4
-0
startup.sh
apollo-adminservice/src/main/scripts/startup.sh
+4
-0
shutdown.sh
apollo-configservice/src/main/scripts/shutdown.sh
+4
-0
startup.sh
apollo-configservice/src/main/scripts/startup.sh
+4
-0
shutdown.sh
apollo-portal/src/main/scripts/shutdown.sh
+4
-0
startup.sh
apollo-portal/src/main/scripts/startup.sh
+4
-0
No files found.
apollo-adminservice/src/main/scripts/shutdown.sh
View file @
cfe37bed
#!/bin/bash
SERVICE_NAME
=
apollo-adminservice
if
[[
-z
"
$JAVA_HOME
"
&&
-d
/usr/java/latest/
]]
;
then
export
JAVA_HOME
=
/usr/java/latest/
fi
cd
`
dirname
$0
`
/..
if
[[
!
-f
$SERVICE_NAME
".jar"
&&
-d
current
]]
;
then
...
...
apollo-adminservice/src/main/scripts/startup.sh
View file @
cfe37bed
...
...
@@ -3,6 +3,10 @@ SERVICE_NAME=apollo-adminservice
VERSION
=
0.0.1-SNAPSHOT
PATH_TO_JAR
=
$SERVICE_NAME
"-"
$VERSION
".jar"
if
[[
-z
"
$JAVA_HOME
"
&&
-d
/usr/java/latest/
]]
;
then
export
JAVA_HOME
=
/usr/java/latest/
fi
cd
`
dirname
$0
`
/..
if
[[
!
-f
PATH_TO_JAR
&&
-d
current
]]
;
then
...
...
apollo-configservice/src/main/scripts/shutdown.sh
View file @
cfe37bed
#!/bin/bash
SERVICE_NAME
=
apollo-configservice
if
[[
-z
"
$JAVA_HOME
"
&&
-d
/usr/java/latest/
]]
;
then
export
JAVA_HOME
=
/usr/java/latest/
fi
cd
`
dirname
$0
`
/..
if
[[
!
-f
$SERVICE_NAME
".jar"
&&
-d
current
]]
;
then
...
...
apollo-configservice/src/main/scripts/startup.sh
View file @
cfe37bed
...
...
@@ -3,6 +3,10 @@ SERVICE_NAME=apollo-configservice
VERSION
=
0.0.1-SNAPSHOT
PATH_TO_JAR
=
$SERVICE_NAME
"-"
$VERSION
".jar"
if
[[
-z
"
$JAVA_HOME
"
&&
-d
/usr/java/latest/
]]
;
then
export
JAVA_HOME
=
/usr/java/latest/
fi
cd
`
dirname
$0
`
/..
if
[[
!
-f
PATH_TO_JAR
&&
-d
current
]]
;
then
...
...
apollo-portal/src/main/scripts/shutdown.sh
View file @
cfe37bed
#!/bin/bash
SERVICE_NAME
=
apollo-portal
if
[[
-z
"
$JAVA_HOME
"
&&
-d
/usr/java/latest/
]]
;
then
export
JAVA_HOME
=
/usr/java/latest/
fi
cd
`
dirname
$0
`
/..
if
[[
!
-f
$SERVICE_NAME
".jar"
&&
-d
current
]]
;
then
...
...
apollo-portal/src/main/scripts/startup.sh
View file @
cfe37bed
...
...
@@ -3,6 +3,10 @@ SERVICE_NAME=apollo-portal
VERSION
=
0.0.1-SNAPSHOT
PATH_TO_JAR
=
$SERVICE_NAME
"-"
$VERSION
".jar"
if
[[
-z
"
$JAVA_HOME
"
&&
-d
/usr/java/latest/
]]
;
then
export
JAVA_HOME
=
/usr/java/latest/
fi
cd
`
dirname
$0
`
/..
if
[[
!
-f
PATH_TO_JAR
&&
-d
current
]]
;
then
...
...
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