Merge pull request #4829 from joshiste/issue-4820

* pr/4829:
  Change redirect in initscript to support old bash
This commit is contained in:
Stephane Nicoll
2015-12-24 11:45:34 +01:00

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"