We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3fe86 commit 9610cfaCopy full SHA for 9610cfa
src/main/resources/run
@@ -1,3 +1,3 @@
1
#!/bin/sh
2
export LANG='en_US.UTF-8'
3
-java -Dloader.path='.' -jar ./sql-boot.jar
+java -Dloader.path='.' -Dspring.config.location=/etc/sql-boot/conf/$1/application.yml -jar ./sql-boot.jar
src/main/resources/sql-boot.service src/main/resources/[email protected]src/main/resources/sql-boot.service renamed to src/main/resources/[email protected]
@@ -5,7 +5,7 @@ After=syslog.target
5
[Service]
6
User=root
7
WorkingDirectory=/opt/sql-boot
8
-ExecStart=/bin/bash /opt/sql-boot/run
+ExecStart=/bin/bash /opt/sql-boot/run %i
9
SuccessExitStatus=143
10
TimeoutStopSec=10
11
Restart=on-failure
0 commit comments