Use unbuffered IO and redirect output to log file

This commit is contained in:
Rick Hansen 2017-05-01 14:31:45 +10:00
parent 481b02a979
commit f94670848e
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/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.