Browse Source

Change redirect in initscript to support old bash

`&>>` syntax is bash version 4. This fix allows to support older
versions.

Fixes gh-4820
Closes gh-4829
pull/4829/merge
Johannes Edmeier 10 years ago committed by Stephane Nicoll
parent
commit
832ad2fe85
  1. 2
      spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

2
spring-boot-tools/spring-boot-loader-tools/src/main/resources/org/springframework/boot/loader/tools/launch.script

@ -165,7 +165,7 @@ do_start() { @@ -165,7 +165,7 @@ do_start() {
pid=$(cat "$pid_file")
else
checkPermissions || return $?
$command &>> "$log_file" &
$command >> "$log_file" 2>&1 &
pid=$!
disown $pid
echo "$pid" > "$pid_file"

Loading…
Cancel
Save