You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script
+42-23Lines changed: 42 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,40 @@
9
9
# :: Spring Boot Startup Script ::
10
10
#
11
11
12
+
### BEGIN INIT INFO
13
+
# Provides: spring-boot-application
14
+
# Required-Start: $remote_fs $syslog $network
15
+
# Required-Stop: $remote_fs $syslog $network
16
+
# Default-Start: 2 3 4 5
17
+
# Default-Stop: 0 1 6
18
+
# Short-Description: Spring Boot Application
19
+
# Description: Spring Boot Application
20
+
### END INIT INFO
21
+
12
22
[[ -n"$DEBUG" ]] &&set -x
13
23
24
+
# Initialize variables that cannot be provided by a .conf file
14
25
WORKING_DIR="$(pwd)"
15
26
[[ -n"$JARFILE" ]] && jarfile="$JARFILE"
16
27
[[ -n"$APP_NAME" ]] && identity="$APP_NAME"
28
+
29
+
# Follow symlinks to find the real jar and detect init.d script
0 commit comments