mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
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
This commit is contained in:
parent
cdc91330f2
commit
832ad2fe85
@ -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…
Reference in New Issue
Block a user