Commit a9a3de5a authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #4829 from joshiste/issue-4820

* pr/4829:
  Change redirect in initscript to support old bash
parents cdc91330 832ad2fe
...@@ -165,7 +165,7 @@ do_start() { ...@@ -165,7 +165,7 @@ do_start() {
pid=$(cat "$pid_file") pid=$(cat "$pid_file")
else else
checkPermissions || return $? checkPermissions || return $?
$command &>> "$log_file" & $command >> "$log_file" 2>&1 &
pid=$! pid=$!
disown $pid disown $pid
echo "$pid" > "$pid_file" echo "$pid" > "$pid_file"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment