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
1e6c147a
Commit
1e6c147a
authored
May 03, 2016
by
Jason Song
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #163 from nobodyiam/cd-portal-script
compatibility for cd portal envionment
parents
46931840
6022759b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
6 deletions
+21
-6
shutdown.sh
apollo-adminservice/src/main/scripts/shutdown.sh
+5
-0
startup.sh
apollo-adminservice/src/main/scripts/startup.sh
+5
-2
shutdown.sh
apollo-configservice/src/main/scripts/shutdown.sh
+6
-2
startup.sh
apollo-configservice/src/main/scripts/startup.sh
+5
-2
No files found.
apollo-adminservice/src/main/scripts/shutdown.sh
View file @
1e6c147a
...
...
@@ -2,6 +2,11 @@
SERVICE_NAME
=
apollo-adminservice
cd
`
dirname
$0
`
/..
if
[[
!
-f
$SERVICE_NAME
".jar"
&&
-d
current
]]
;
then
cd
current
fi
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
./
$SERVICE_NAME
".jar"
stop
fi
apollo-adminservice/src/main/scripts/startup.sh
View file @
1e6c147a
...
...
@@ -5,6 +5,10 @@ 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
...
...
@@ -12,4 +16,4 @@ fi
ln
$PATH_TO_JAR
$SERVICE_NAME
".jar"
./
$SERVICE_NAME
".jar"
start
exit
0
;
\ No newline at end of file
exit
0
;
apollo-configservice/src/main/scripts/shutdown.sh
View file @
1e6c147a
...
...
@@ -2,6 +2,11 @@
SERVICE_NAME
=
apollo-configservice
cd
`
dirname
$0
`
/..
if
[[
!
-f
$SERVICE_NAME
".jar"
&&
-d
current
]]
;
then
cd
current
fi
if
[[
-f
$SERVICE_NAME
".jar"
]]
;
then
./
$SERVICE_NAME
".jar"
stop
fi
\ No newline at end of file
fi
apollo-configservice/src/main/scripts/startup.sh
View file @
1e6c147a
...
...
@@ -5,6 +5,10 @@ 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
...
...
@@ -12,4 +16,4 @@ fi
ln
$PATH_TO_JAR
$SERVICE_NAME
".jar"
./
$SERVICE_NAME
".jar"
start
exit
0
;
\ No newline at end of file
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