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:
Johannes Edmeier 2015-12-23 11:44:39 +01:00 committed by Stephane Nicoll
parent cdc91330f2
commit 832ad2fe85

View File

@ -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"