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:
committed by
Stephane Nicoll
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"
|
||||
|
||||
Reference in New Issue
Block a user