Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-bigdata
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-bigdata
Commits
123b808a
Commit
123b808a
authored
Aug 19, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改启动脚本
parent
6dce44af
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
28 deletions
+28
-28
config/sh/api/api.sh
+2
-2
config/sh/config/config.sh
+2
-2
config/sh/eureka/eureka.sh
+2
-2
config/sh/gateway/gateway.sh
+2
-2
config/sh/portal/portal.sh
+2
-2
config/sh/start.sh
+14
-14
config/sh/sys/sys.sh
+2
-2
config/sh/user/user.sh
+2
-2
No files found.
config/sh/api/api.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep api-server-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/api/api-server-1.0.0.jar
--server
.port
=
9100
>
api.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
api-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9100
>
api.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/api/api-server-1.0.0.jar
--server
.port
=
9100
>
api.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
api-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9100
>
api.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
config/sh/config/config.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep config-client-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/config/config-client-1.0.0.jar
--server
.port
=
8300
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8300
>
config.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/config/config-client-1.0.0.jar
--server
.port
=
8300
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8300
>
config.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
config/sh/eureka/eureka.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep eureka-server-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/eureka/eureka-server-1.0.0.jar
--server
.port
=
8800
>
eureka.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
eureka-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8800
>
eureka.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/eureka/eureka-server-1.0.0.jar
--server
.port
=
8800
>
eureka.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
eureka-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8800
>
eureka.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
config/sh/gateway/gateway.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep gateway-server-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/gateway/gateway-server-1.0.0.jar
--server
.port
=
9888
>
gateway.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
gateway-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9888
>
gateway.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/gateway/gateway-server-1.0.0.jar
--server
.port
=
9888
>
gateway.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
gateway-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9888
>
gateway.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
config/sh/portal/portal.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep portal-server-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/portal/portal-server-1.0.0.jar
--server
.port
=
9700
>
portal.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
portal-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9700
>
portal.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/portal/portal-server-1.0.0.jar
--server
.port
=
9700
>
portal.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
portal-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9700
>
portal.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
config/sh/start.sh
View file @
123b808a
...
...
@@ -7,13 +7,13 @@ echo "--------eureka start--------"
cd
/home/civil/eureka
PID
=
$(
ps
-ef
|grep eureka-server-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/eureka/eureka-server-1.0.0.jar
--server
.port
=
8800
>
eureka.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
eureka-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8800
>
eureka.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/eureka/eureka-server-1.0.0.jar
--server
.port
=
8800
>
eureka.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
eureka-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8800
>
eureka.log 2>&1 &
echo
"--------------start success-----------"
fi
...
...
@@ -23,13 +23,13 @@ echo "--------config start--------"
PID
=
$(
ps
-ef
|grep config-client-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/config/config-client-1.0.0.jar
--server
.port
=
8300
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8300
>
config.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/config/config-client-1.0.0.jar
--server
.port
=
8300
>
config.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
config-client-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
8300
>
config.log 2>&1 &
echo
"--------------start success-----------"
fi
...
...
@@ -39,13 +39,13 @@ echo "--------gateway start--------"
PID
=
$(
ps
-ef
|grep gateway-server-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/gateway/gateway-server-1.0.0.jar
--server
.port
=
9888
>
gateway.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
gateway-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9888
>
gateway.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/gateway/gateway-server-1.0.0.jar
--server
.port
=
9888
>
gateway.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
gateway-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9888
>
gateway.log 2>&1 &
echo
"--------------start success-----------"
fi
...
...
@@ -55,13 +55,13 @@ echo "--------sys start--------"
PID
=
$(
ps
-ef
|grep sys-server-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/sys/sys-server-1.0.0.jar
--server
.port
=
9000
>
sys.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
sys-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9000
>
sys.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/sys/sys-server-1.0.0.jar
--server
.port
=
9000
>
sys.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
sys-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9000
>
sys.log 2>&1 &
echo
"--------------start success-----------"
fi
...
...
@@ -71,13 +71,13 @@ echo "--------api start--------"
PID
=
$(
ps
-ef
|grep api-server-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/api/api-server-1.0.0.jar
--server
.port
=
9100
>
api.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
api-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9100
>
api.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/api/api-server-1.0.0.jar
--server
.port
=
9100
>
api.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
api-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9100
>
api.log 2>&1 &
echo
"--------------start success-----------"
fi
...
...
@@ -87,13 +87,13 @@ echo "--------user start--------"
PID
=
$(
ps
-ef
|grep user-server-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/user/user-server-1.0.0.jar
--server
.port
=
9800
>
user.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
user-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9800
>
user.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/user/user-server-1.0.0.jar
--server
.port
=
9800
>
user.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
64m
-XX
:MaxMetaspaceSize
=
128m
-Xms256m
-Xmn384m
-Xmx512m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
user-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9800
>
user.log 2>&1 &
echo
"--------------start success-----------"
fi
...
...
@@ -103,12 +103,12 @@ echo "--------portal start--------"
PID
=
$(
ps
-ef
|grep portal-server-1.0.0.jar |grep
-v
grep
|awk
'{print $2}'
)
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/portal/portal-server-1.0.0.jar
--server
.port
=
9700
>
portal.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
portal-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9700
>
portal.log 2>&1 &
echo
"--------------start success-----------"
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/portal/portal-server-1.0.0.jar
--server
.port
=
9700
>
portal.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
portal-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9700
>
portal.log 2>&1 &
echo
"--------------start success-----------"
fi
config/sh/sys/sys.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep sys-server-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/sys/sys-server-1.0.0.jar
--server
.port
=
9000
>
sys.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
sys-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9000
>
sys.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/sys/sys-server-1.0.0.jar
--server
.port
=
9000
>
sys.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
sys-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9000
>
sys.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
config/sh/user/user.sh
View file @
123b808a
...
...
@@ -9,14 +9,14 @@ PID=$(ps -ef|grep user-server-1.0.0.jar |grep -v grep|awk '{print $2}')
if
[
!
$PID
]
;
then
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/user/user-server-1.0.0.jar
--server
.port
=
9800
>
user.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
user-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9800
>
user.log 2>&1 &
echo
"--------------start success-----------"
exit
else
kill
-9
${
PID
}
echo
"--------------kill success-----------"
echo
"---------------now wait start-------"
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
/home/civil/user/user-server-1.0.0.jar
--server
.port
=
9800
>
user.log 2>&1 &
nohup java
-jar
-XX
:MetaspaceSize
=
128m
-XX
:MaxMetaspaceSize
=
256m
-Xms512m
-Xmn768m
-Xmx1024m
-Xss256k
-XX
:SurvivorRatio
=
8
-XX
:+UseConcMarkSweepGC
user-server-1.0.0.jar
--spring
.profiles.active
=
product
--server
.port
=
9800
>
user.log 2>&1 &
echo
"--------------start success-----------"
exit
fi
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