Use python instead of python2

On used docker baseimage python is already linked to python2 or python3,
depending on image version
This commit is contained in:
Robert Szulist 2019-09-07 23:03:13 +02:00
parent d0e80bf79f
commit 08fb44b66d
2 changed files with 0 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#!/bin/sh
''''which python2 >/dev/null && exec python2 "$0" "$@" # '''
''''which python >/dev/null && exec python "$0" "$@" # '''
# Copyright (C) 2014-2015 Nginx, Inc.

View File

@ -1,6 +1,5 @@
#!/bin/sh
''''[ -z $LOG ] && export LOG=/dev/stdout # '''
''''which python2 >/dev/null && exec python2 -u "$0" "$@" >> $LOG 2>&1 # '''
''''which python >/dev/null && exec python -u "$0" "$@" >> $LOG 2>&1 # '''
# Copyright (C) 2014-2015 Nginx, Inc.