We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34b3695 commit 9478980Copy full SHA for 9478980
services/web/server/src/simcore_service_webserver/application.py
@@ -9,6 +9,7 @@
9
10
from servicelib.application import create_safe_application
11
12
+from ._meta import WELCOME_MSG
13
from .activity import setup_activity
14
from .catalog import setup_catalog
15
from .computation import setup_computation
@@ -85,6 +86,11 @@ def run_service(config: dict):
85
86
87
app = create_application(config)
88
89
+ async def welcome_banner(_app: web.Application):
90
+ print(WELCOME_MSG, flush=True)
91
+
92
+ app.on_startup.append(welcome_banner)
93
94
web.run_app(app, host=config["main"]["host"], port=config["main"]["port"])
95
96
0 commit comments