-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bsh
More file actions
21 lines (14 loc) · 744 Bytes
/
start.bsh
File metadata and controls
21 lines (14 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
export JAVA_HOME=/root/jdk-18.0.1.1
export PATH=$JAVA_HOME/bin:$PATH
export SPRING_CONFIG_LOCATION=./etc/auth.properties
nohup java -jar services/auth/target/auth-1.0.0.jar > /dev/null 2>&1&
export SPRING_CONFIG_LOCATION=./etc/desc.properties
nohup java -jar services/desc/target/desc-1.0.0.jar > /dev/null 2>&1&
export SPRING_CONFIG_LOCATION=./etc/mock.properties
nohup java -jar services/mock/target/mock-1.0.0.jar > /dev/null 2>&1&
export SPRING_CONFIG_LOCATION=./etc/notification.properties
nohup java -jar services/notification/target/notification-1.0.0.jar > /dev/null 2>&1&
export SPRING_CONFIG_LOCATION=./etc/site.properties
nohup java -jar services/site/target/site-1.0.0.jar > /dev/null 2>&1&
ps aux | grep services