Pass application name in from start scripts

- allows logger to log as correct application
This commit is contained in:
Martyn Inglis
2016-03-16 13:25:09 +00:00
parent 1425290eef
commit 27d48a9746
2 changed files with 8 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env python
from app import notify_celery, create_app
application = create_app()
application = create_app('delivery')
application.app_context().push()