Merge pull request #4829 from joshiste/issue-4820
* pr/4829: Change redirect in initscript to support old bash
This commit is contained in:
@@ -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