Fix Passenger startup script
This commit is contained in:
parent
dc1596ee71
commit
8a01e74323
1 changed files with 1 additions and 3 deletions
|
@ -9,9 +9,7 @@ if sys.executable != INTERP:
|
||||||
os.execl(INTERP, INTERP, *sys.argv)
|
os.execl(INTERP, INTERP, *sys.argv)
|
||||||
|
|
||||||
sys.path.append(os.getcwd())
|
sys.path.append(os.getcwd())
|
||||||
from app import create_app
|
from app import app as application
|
||||||
|
|
||||||
application = create_app().app
|
|
||||||
|
|
||||||
# For running on the server with passenger etc
|
# For running on the server with passenger etc
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue