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
ea23b0a6
Commit
ea23b0a6
authored
May 03, 2016
by
Jason Song
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #165 from nobodyiam/cd-portal-script
update portal script and add jdk1.8 identifier
parents
307f17e0
97ad363b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
0 deletions
+14
-0
app.properties
...o-adminservice/src/main/resources/META-INF/app.properties
+1
-0
app.properties
...-configservice/src/main/resources/META-INF/app.properties
+1
-0
app.properties
apollo-portal/src/main/resources/META-INF/app.properties
+1
-0
shutdown.sh
apollo-portal/src/main/scripts/shutdown.sh
+6
-0
startup.sh
apollo-portal/src/main/scripts/startup.sh
+5
-0
No files found.
apollo-adminservice/src/main/resources/META-INF/app.properties
View file @
ea23b0a6
app.id
=
100003172
jdkVersion
=
1.8
apollo-configservice/src/main/resources/META-INF/app.properties
View file @
ea23b0a6
app.id
=
100003171
jdkVersion
=
1.8
apollo-portal/src/main/resources/META-INF/app.properties
View file @
ea23b0a6
app.id
=
100003173
jdkVersion
=
1.8
apollo-portal/src/main/scripts/shutdown.sh
View file @
ea23b0a6
...
...
@@ -2,6 +2,12 @@
SERVICE_NAME
=
apollo-portal
cd
`
dirname
$0
`
/..
if
[[
!
-f
$SERVICE_NAME
".jar"
&&
-d
current
]]
;
then
cd
current
fi
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
chmod
a+x
$SERVICE_NAME
".jar"
./
$SERVICE_NAME
".jar"
stop
fi
apollo-portal/src/main/scripts/startup.sh
View file @
ea23b0a6
...
...
@@ -5,11 +5,16 @@ PATH_TO_JAR=$SERVICE_NAME"-"$VERSION".jar"
cd
`
dirname
$0
`
/..
if
[[
!
-f
PATH_TO_JAR
&&
-d
current
]]
;
then
cd
current
fi
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
rm
-rf
$SERVICE_NAME
".jar"
fi
ln
$PATH_TO_JAR
$SERVICE_NAME
".jar"
chmod
a+x
$SERVICE_NAME
".jar"
./
$SERVICE_NAME
".jar"
start
exit
0
;
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