Commit f9467084 authored by Rick Hansen's avatar Rick Hansen
Browse files

Use unbuffered IO and redirect output to log file

parent 481b02a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
#!/bin/sh
''''which python2 >/dev/null && exec python2 "$0" "$@" # '''
''''which python  >/dev/null && exec python  "$0" "$@" # '''
''''which python2 >/dev/null && exec python2 -u "$0" "$@" &>>$LOG # '''
''''which python  >/dev/null && exec python  -u "$0" "$@" &>>$LOG # '''

# Copyright (C) 2014-2015 Nginx, Inc.